diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-11 22:33:31 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-11 22:33:31 +0000 |
commit | e59399ac205a98d73fcb15bc3491c32434a5f010 (patch) | |
tree | 41adbc03431816357c099bfa20e7820c995da025 /libdiskfs | |
parent | 4481d5061345ae3e810372fcbe920f74c7b691bf (diff) |
Formerly io-duplicate.c.~4~
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/io-duplicate.c | 5 |
1 files 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; |