From e295cc1deae384af16f021ddd1c2521fb9f2e4ab Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 11 Feb 1994 22:31:36 +0000 Subject: Formerly dir-mkfile.c.~3~ --- libdiskfs/dir-mkfile.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libdiskfs') 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; } -- cgit v1.2.3