From e1f3c0a3b0e463b39cdd72e563259d5d84850722 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 Nov 1995 17:33:51 +0000 Subject: (diskfs_S_dir_link): Now that args are swapped, deallocate port ref on FILECRED instead of DIRCRED. --- libdiskfs/dir-link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3