From 3d107d5b12ac76a37621e589ebc03540205b488f Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:54:12 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * io.c (TRASH_IDS): Use munmap instead of vm_deallocate. --- pflocal/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pflocal/io.c') diff --git a/pflocal/io.c b/pflocal/io.c index 4d5b733d..1189eba7 100644 --- a/pflocal/io.c +++ b/pflocal/io.c @@ -422,7 +422,7 @@ S_io_reauthenticate (struct sock_user *user, mach_port_t rendezvous) /* Throw away the ids we went through all that trouble to get... */ #define TRASH_IDS(ids, buf, num) \ if (buf != ids) \ - vm_deallocate (mach_task_self (), (vm_address_t)ids, num * sizeof (uid_t)); + munmap (ids, num * sizeof (uid_t)); TRASH_IDS (uids, uids_buf, num_uids); TRASH_IDS (gids, gids_buf, num_gids); -- cgit v1.2.3