summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-12 00:06:53 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-12 00:06:53 +0000
commit8636d55688cdb3b266a6498f5bfebb86aeb972ea (patch)
tree05377267516fb3596d17fdd3ff921653324f5b6f /libdiskfs
parente59399ac205a98d73fcb15bc3491c32434a5f010 (diff)
Formerly io-restrict-auth.c.~4~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-restrict-auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/io-restrict-auth.c b/libdiskfs/io-restrict-auth.c
index c400b5e7..e1cc01da 100644
--- a/libdiskfs/io-restrict-auth.c
+++ b/libdiskfs/io-restrict-auth.c
@@ -56,8 +56,9 @@ diskfs_S_io_restrict_auth (struct protid *cred,
newgids[newngids++] = cred->gids[i];
mutex_lock (&cred->po->np->lock);
- *newport = (diskfs_make_protid (cred->po, newuids, newnuids, newgids,
- newngids))->pi.port;
+ *newport = (ports_get_right
+ (diskfs_make_protid (cred->po, newuids, newnuids, newgids,
+ newngids)));
mutex_unlock (&cred->po->np->lock);
*newportpoly = MACH_MSG_TYPE_MAKE_SEND;
return 0;