aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/io-duplicate.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-duplicate.c')
-rw-r--r--libnetfs/io-duplicate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-duplicate.c b/libnetfs/io-duplicate.c
index ba3954af..a41af9bf 100644
--- a/libnetfs/io-duplicate.c
+++ b/libnetfs/io-duplicate.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.
@@ -30,7 +30,7 @@ netfs_S_io_duplicate (struct protid *user,
mutex_lock (&user->po->np->lock);
newpi = netfs_make_protid (user->po,
- netfs_copy_credential (user->credential));
+ iohelp_dup_iouser (user->user));
*newport = ports_get_right (newpi);
mutex_unlock (&user->po->np->lock);
*newporttp = MACH_MSG_TYPE_MAKE_SEND;