From 84c05469b0378c17726a054d7486943ef197b423 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:56:15 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * 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. --- utils/showtrans.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'utils/showtrans.c') 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 @@ -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; -- cgit v1.2.3