diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-06-27 15:06:52 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-06-27 15:06:52 +0000 |
commit | 03bee469175083b37357bb648c4cf16e71603ba0 (patch) | |
tree | 351c008a2ecfbb3ba6fb08183289fe90a3abda76 /libtrivfs | |
parent | d3901c7d2245d158fd9500e3efee12db73171c1d (diff) |
(trivfs_S_io_reauthenticate): Use new ports interface.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/io-reauthenticate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libtrivfs/io-reauthenticate.c b/libtrivfs/io-reauthenticate.c index 2f934810..c546f8aa 100644 --- a/libtrivfs/io-reauthenticate.c +++ b/libtrivfs/io-reauthenticate.c @@ -47,7 +47,9 @@ trivfs_S_io_reauthenticate (struct trivfs_protid *cred, aux_uids = aubuf; aux_gids = agbuf; - newcred = ports_allocate_port (sizeof (struct trivfs_protid), cred->pi.type); + newcred = ports_allocate_port (cred->po->cntl->protid_bucket, + sizeof (struct trivfs_protid), + cred->po->cntl->protid_class); auth = getauth (); err = auth_server_authenticate (auth, ports_get_right (cred), |