diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:56:15 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-07-03 23:56:15 +0000 |
commit | 84c05469b0378c17726a054d7486943ef197b423 (patch) | |
tree | 57ac8a2d08bf7510e5468b53c0cc5d8bbc6e9050 /utils/msgport.c | |
parent | 5798491126bcb231c4fbd5a9675bae036146ad01 (diff) |
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* login.c (cat): Use munmap instead of vm_deallocate.
(check_owned): Likewise.
(kill_login): Likewise.
* storeread.c (main): Likewise.
* showtrans.c (main): Likewise.
* pids.c (add_fn_pids): Likewise.
* msgport.c (cmd_getenv): Likewise.
Diffstat (limited to 'utils/msgport.c')
-rw-r--r-- | utils/msgport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/msgport.c b/utils/msgport.c index eed174b7..5f494e1c 100644 --- a/utils/msgport.c +++ b/utils/msgport.c @@ -1,6 +1,6 @@ /* Send messages to selected processes - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. Written by Jose M. Moya <josem@gnu.org> @@ -125,7 +125,7 @@ cmd_getenv (pid_t pid, mach_port_t msgport, int argc, char *argv[]) printf ("%d: %s\n", pid, p); } if (data != buf) - vm_deallocate (mach_task_self (), (vm_address_t)data, len); + munmap (data, len); return err; } |