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/file-get-trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs/file-get-trans.c') diff --git a/libdiskfs/file-get-trans.c b/libdiskfs/file-get-trans.c index 2aa04c5c..77be4e1a 100644 --- a/libdiskfs/file-get-trans.c +++ b/libdiskfs/file-get-trans.c @@ -63,7 +63,7 @@ diskfs_S_file_get_translator (struct protid *cred, *translen = len; } else if (len > *translen) - vm_deallocate (mach_task_self (), (vm_address_t) trans, len); + munmap (trans, len); } else if (S_ISCHR (np->dn_stat.st_mode) || S_ISBLK (np->dn_stat.st_mode)) { -- cgit v1.2.3