summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-22 20:40:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-22 20:40:36 +0000
commit7d76d92b5d2bfc29a2fa5179ad4f10a4417f70e5 (patch)
tree7a3e0940d96949a6cf7ae1e9c918fddc77c1b1d6 /libtrivfs
parente0a39f66f3264942951ac2b05f05c4fdb9eb8702 (diff)
Formerly io-duplicate.c.~6~
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/io-duplicate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtrivfs/io-duplicate.c b/libtrivfs/io-duplicate.c
index ce3f29cc..8f0a3c74 100644
--- a/libtrivfs/io-duplicate.c
+++ b/libtrivfs/io-duplicate.c
@@ -47,6 +47,8 @@ trivfs_S_io_duplicate (struct trivfs_protid *cred,
mach_port_mod_refs (mach_task_self (), newcred->realnode,
MACH_PORT_RIGHT_SEND, 1);
+ newcred->hook = cred->hook;
+
if (trivfs_protid_create_hook)
(*trivfs_protid_create_hook) (newcred);