summaryrefslogtreecommitdiff
path: root/libdiskfs/io-duplicate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-duplicate.c')
-rw-r--r--libdiskfs/io-duplicate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/io-duplicate.c b/libdiskfs/io-duplicate.c
index da374189..01269584 100644
--- a/libdiskfs/io-duplicate.c
+++ b/libdiskfs/io-duplicate.c
@@ -29,7 +29,7 @@ diskfs_S_io_duplicate (struct protid *cred,
mutex_lock (&cred->po->np->lock);
*port = (diskfs_make_protid (cred->po, cred->uids, cred->nuids, cred->gids,
- cred->ngids))->fspt.pi.port;
+ cred->ngids))->pi.port;
*portpoly = MACH_MSG_TYPE_MAKE_SEND;
mutex_unlock (&cred->po->np->lock);
return 0;