summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-14 01:33:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-14 01:33:17 +0000
commitc92b5d161881a9d6cd44e2de34359e2a92ed377d (patch)
tree49b2cf58a9e359cfecf02aab2166923275b544c7
parent06334becbfa369d4eb3f7056aea6860846d7afae (diff)
(netfs_S_io_reauthenticate): fixp
-rw-r--r--libnetfs/io-reauthenticate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/io-reauthenticate.c b/libnetfs/io-reauthenticate.c
index 5b33b65c..aea60154 100644
--- a/libnetfs/io-reauthenticate.c
+++ b/libnetfs/io-reauthenticate.c
@@ -44,7 +44,7 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
newpi = netfs_make_protid (user->po, 0);
newright = ports_get_right (newpi);
- err = mach_port_insert_right (mach_task_self (), newpi, newpi,
+ err = mach_port_insert_right (mach_task_self (), newright, newright,
MACH_MSG_TYPE_MAKE_SEND);
assert_perror (err);
do