summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-11 22:32:45 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-11 22:32:45 +0000
commit4481d5061345ae3e810372fcbe920f74c7b691bf (patch)
tree2f66ebc967dc8ca2ad4540e6043181dbe67ffa6c /libdiskfs
parent15774e2af65cfb4bbf25b8de1823b9a9a1c4a0ee (diff)
Formerly fsys-getroot.c.~3~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-getroot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c
index 37386f5d..be05d8b1 100644
--- a/libdiskfs/fsys-getroot.c
+++ b/libdiskfs/fsys-getroot.c
@@ -38,8 +38,10 @@ diskfs_S_fsys_getroot (fsys_t controlport,
if (!pt)
return EOPNOTSUPP;
- *result = (diskfs_make_protid (diskfs_make_peropen (diskfs_root_node, flags),
- uids, nuids, gids, ngids))->pi.port;
+ *result = (ports_get_right
+ (diskfs_make_protid
+ (diskfs_make_peropen (diskfs_root_node, flags),
+ uids, nuids, gids, ngids)));
*result_poly = MACH_MSG_TYPE_MAKE_SEND;
ports_done_with_port (pt);