summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-23 19:12:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-23 19:12:51 +0000
commitfd2b6c1e38961d0104781841f11f484fcdf3c55b (patch)
treebf4991ad807b09fae85f952bda5f37333642a9df
parentde4aae460c9ee6871fde651f7c85744e9c2bd9ff (diff)
(diskfs_S_ifsock_getsockaddr): fixup
-rw-r--r--libdiskfs/ifsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/ifsock.c b/libdiskfs/ifsock.c
index 2b02554b..dbb45f3f 100644
--- a/libdiskfs/ifsock.c
+++ b/libdiskfs/ifsock.c
@@ -118,7 +118,7 @@ diskfs_S_ifsock_getsockaddr (struct protid *cred,
reference. */
mach_port_request_notification (mach_task_self (), sockaddr,
MACH_NOTIFY_DEAD_NAME, 1,
- np->pi.port_right,
+ cred->pi.port_right,
MACH_PORT_MAKE_SEND_ONCE,
&old);
if (old != MACH_PORT_NULL)