From ce42eb49b65bf46803336cedd31ff0d332ff7fe8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 27 Jun 1995 15:01:18 +0000 Subject: (trivfs_S_fsys_getroot): Use new form of ports_allocate_port call. --- libtrivfs/fsys-getroot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libtrivfs') 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) -- cgit v1.2.3