From e59399ac205a98d73fcb15bc3491c32434a5f010 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 11 Feb 1994 22:33:31 +0000 Subject: Formerly io-duplicate.c.~4~ --- libdiskfs/io-duplicate.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libdiskfs/io-duplicate.c b/libdiskfs/io-duplicate.c index 01269584..e0beded6 100644 --- a/libdiskfs/io-duplicate.c +++ b/libdiskfs/io-duplicate.c @@ -28,8 +28,9 @@ diskfs_S_io_duplicate (struct protid *cred, return EOPNOTSUPP; mutex_lock (&cred->po->np->lock); - *port = (diskfs_make_protid (cred->po, cred->uids, cred->nuids, cred->gids, - cred->ngids))->pi.port; + *port = (ports_get_right + (diskfs_make_protid + (cred->po, cred->uids, cred->nuids, cred->gids, cred->ngids))); *portpoly = MACH_MSG_TYPE_MAKE_SEND; mutex_unlock (&cred->po->np->lock); return 0; -- cgit v1.2.3