diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:52:06 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:52:06 +0000 |
commit | 157a9dcf73718cf04690b1646995549a52cee43d (patch) | |
tree | 7f8e23a2bdff30f8d6c9fe79155f6cad48822375 /libshouldbeinlibc/xportinfo.c | |
parent | d8f2d7d71da7a39b7a70866d834658b1a090eb38 (diff) |
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* fsysops.c (fsys_get_readonly): Use munmap instead of vm_deallocate.
* idvec-auth.c (idvec_merge_auth): Likewise.
* portinfo.c (print_port_info): Likewise.
(print_task_ports_info): Likewise.
* portxlate.c (port_name_xlator_create): Likewise.
(port_name_xlator_free): Likewise.
* xportinfo.c (print_xlated_task_ports_info): Likewise.
Diffstat (limited to 'libshouldbeinlibc/xportinfo.c')
-rw-r--r-- | libshouldbeinlibc/xportinfo.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c index cdd1da38..bcd6abfa 100644 --- a/libshouldbeinlibc/xportinfo.c +++ b/libshouldbeinlibc/xportinfo.c @@ -1,6 +1,6 @@ /* Print information about a port, with the name translated between tasks - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -59,10 +59,8 @@ print_xlated_task_ports_info (struct port_name_xlator *x, if (types[i] & only) print_xlated_port_info (names[i], types[i], x, show, stream); - vm_deallocate (mach_task_self (), - (vm_address_t)names, names_len * sizeof *names); - vm_deallocate (mach_task_self (), - (vm_address_t)types, types_len * sizeof *types); + munmap (names, names_len * sizeof *names); + munmap (types, types_len * sizeof *types); return 0; } |