summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-09 17:33:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-09 17:33:51 +0000
commite1f3c0a3b0e463b39cdd72e563259d5d84850722 (patch)
tree64b3498d23d39797e7c479345e23dd6c98644038 /libdiskfs
parentf3920580819312f234b46c6fb831f0077a62c922 (diff)
(diskfs_S_dir_link): Now that args are swapped, deallocate port ref on
FILECRED instead of DIRCRED.
Diffstat (limited to 'libdiskfs')
-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;
}