summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-27 15:01:18 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-27 15:01:18 +0000
commitce42eb49b65bf46803336cedd31ff0d332ff7fe8 (patch)
tree293496a2ad563e5b963adb179307fe7d3e43ffe8
parenta57814b42a0705cf0749dbed18acd188ddd14751 (diff)
(trivfs_S_fsys_getroot): Use new form of ports_allocate_port call.
-rw-r--r--libtrivfs/fsys-getroot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libtrivfs/fsys-getroot.c b/libtrivfs/fsys-getroot.c
index 70c7e6db..d6b4a874 100644
--- a/libtrivfs/fsys-getroot.c
+++ b/libtrivfs/fsys-getroot.c
@@ -78,8 +78,9 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl,
}
}
- cred = ports_allocate_port (sizeof (struct trivfs_protid),
- cntl->protidtypes);
+ cred = ports_allocate_port (cntl->protid_bucket,
+ sizeof (struct trivfs_protid),
+ cntl->protid_class);
cred->isroot = 0;
for (i = 0; i < nuids; i++)
if (uids[i] == 0)