From 8636d55688cdb3b266a6498f5bfebb86aeb972ea Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 12 Feb 1994 00:06:53 +0000 Subject: Formerly io-restrict-auth.c.~4~ --- libdiskfs/io-restrict-auth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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; -- cgit v1.2.3