diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-mkfile.c | 8 |
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; } |