From ebbe233e5686d50ad90cb6131d49fd94519d86fb Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Sat, 3 Jul 1999 23:50:16 +0000 Subject: 1999-07-03 Thomas Bushnell, BSG * file-get-trans.c (diskfs_S_file_get_translator): Use munmap instead of vm_deallocate. * io-read.c (diskfs_S_io_read): Likewise. * protid-rele.c (diskfs_protid_rele): Likewise. --- libdiskfs/protid-rele.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libdiskfs/protid-rele.c') diff --git a/libdiskfs/protid-rele.c b/libdiskfs/protid-rele.c index 10ff6890..f0646027 100644 --- a/libdiskfs/protid-rele.c +++ b/libdiskfs/protid-rele.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 1999 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -30,8 +30,7 @@ diskfs_protid_rele (void *arg) if (cred->shared_object) mach_port_deallocate (mach_task_self (), cred->shared_object); if (cred->mapped) - vm_deallocate (mach_task_self (), (vm_address_t) cred->mapped, - vm_page_size); + munmap (cred->mapped, vm_page_size); diskfs_release_peropen (cred->po); } -- cgit v1.2.3