summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-11 22:31:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-11 22:31:36 +0000
commite295cc1deae384af16f021ddd1c2521fb9f2e4ab (patch)
tree91c6d8d2c77379f2ebf7189fce4e1ecaebdcf9a8
parent5d1f577d8496d0a4300dd0b51b2e6cf248350f09 (diff)
Formerly dir-mkfile.c.~3~
-rw-r--r--libdiskfs/dir-mkfile.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libdiskfs/dir-mkfile.c b/libdiskfs/dir-mkfile.c
index b7fd28ad..47f96201 100644
--- a/libdiskfs/dir-mkfile.c
+++ b/libdiskfs/dir-mkfile.c
@@ -60,9 +60,11 @@ diskfs_S_dir_mkfile (struct protid *cred,
return err;
flags &= (O_READ | O_WRITE | O_EXEC);
- *newnode = (diskfs_make_protid (diskfs_make_peropen (np, flags),
- cred->uids, cred->nuids,
- cred->gids, cred->ngids))->pi.port;
+ *newnode = (ports_get_right
+ (diskfs_make_protid
+ (diskfs_make_peropen (np, flags),
+ cred->uids, cred->nuids,
+ cred->gids, cred->ngids)));
*newnodetype = MACH_MSG_TYPE_MAKE_SEND;
return 0;
}