summaryrefslogtreecommitdiff
path: root/libdiskfs/file-get-trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-get-trans.c')
-rw-r--r--libdiskfs/file-get-trans.c2
1 files changed, 1 insertions, 1 deletions
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))
{