summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/fsysops.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:52:06 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:52:06 +0000
commit157a9dcf73718cf04690b1646995549a52cee43d (patch)
tree7f8e23a2bdff30f8d6c9fe79155f6cad48822375 /libshouldbeinlibc/fsysops.c
parentd8f2d7d71da7a39b7a70866d834658b1a090eb38 (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/fsysops.c')
-rw-r--r--libshouldbeinlibc/fsysops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/fsysops.c b/libshouldbeinlibc/fsysops.c
index 215c639f..57046e21 100644
--- a/libshouldbeinlibc/fsysops.c
+++ b/libshouldbeinlibc/fsysops.c
@@ -1,6 +1,6 @@
/* Some handy utility routines for fsys control ports
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1999 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -74,7 +74,7 @@ fsys_get_readonly (fsys_t fsys, int *readonly)
if (opts != _opts)
/* Free out-of-line memory returned by fsys_get_options. */
- vm_deallocate (mach_task_self (), (vm_address_t)opts, opts_len);
+ munmap (opts, opts_len);
}
return err;