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/showtrans.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/showtrans.c')
-rw-r--r-- | utils/showtrans.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/showtrans.c b/utils/showtrans.c index 74da61fa..d990b6c9 100644 --- a/utils/showtrans.c +++ b/utils/showtrans.c @@ -1,6 +1,6 @@ /* Show files' passive translators. - Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -85,8 +85,7 @@ main (int argc, char *argv[]) } if (trans != buf) - vm_deallocate (mach_task_self (), - (vm_address_t)trans, trans_len); + munmap (trans, trans_len); status = 0; |