summaryrefslogtreecommitdiff
path: root/libnetfs/io-reauthenticate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-reauthenticate.c')
-rw-r--r--libnetfs/io-reauthenticate.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libnetfs/io-reauthenticate.c b/libnetfs/io-reauthenticate.c
index e0940108..5e08f413 100644
--- a/libnetfs/io-reauthenticate.c
+++ b/libnetfs/io-reauthenticate.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -42,8 +42,6 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
mutex_lock (&user->po->np->lock);
newpi = netfs_make_protid (user->po, 0);
err = auth_server_authenticate (netfs_auth_server_port,
- ports_get_right (user),
- MACH_MSG_TYPE_MAKE_SEND,
rend_port,
MACH_MSG_TYPE_MOVE_SEND,
ports_get_right (newpi),
@@ -68,7 +66,7 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
if (gen_gids != ggbuf)
vm_deallocate (mach_task_self (), (vm_address_t) gen_gids,
gengidlen * sizeof (uid_t));
- if (aux_gids != aubuf)
+ if (aux_gids != agbuf)
vm_deallocate (mach_task_self (), (vm_address_t) aux_gids,
auxgidlen * sizeof (uid_t));
return 0;