aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r--libdiskfs/file-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 13afb7a9..45800506 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -161,7 +161,7 @@ diskfs_S_file_exec (struct protid *cred,
intarray, intarraylen,
deallocnames, deallocnameslen,
destroynames, destroynameslen);
- mach_port_deallocate (mach_task_self (), newpi)
+ mach_port_deallocate (mach_task_self (), right);
if (err == MACH_SEND_INVALID_DEST)
{
if (cached_exec)