diff options
-rw-r--r-- | libtrivfs/fsys-getroot.c | 5 |
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) |