summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-link.c')
-rw-r--r--libdiskfs/dir-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c
index 8c13f503..ec7a578b 100644
--- a/libdiskfs/dir-link.c
+++ b/libdiskfs/dir-link.c
@@ -93,6 +93,6 @@ diskfs_S_dir_link (struct protid *dircred,
mutex_unlock (&np->lock);
if (!error)
/* MiG won't do this for us, which it ought to. */
- mach_port_deallocate (mach_task_self (), dircred->pi.port_right);
+ mach_port_deallocate (mach_task_self (), filecred->pi.port_right);
return error;
}