summaryrefslogtreecommitdiff
path: root/libnetfs/dir-mkfile.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-19 18:24:17 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-19 18:24:17 +0000
commit45969c4fec00228aefb09ec4a886f57a4f348e5d (patch)
treefca909f2a4f4b292ce1f1d4e147e2951ab9f4a84 /libnetfs/dir-mkfile.c
parenteadd9ea212bd2f2ad13a0b06d7fbbb85ec9fe575 (diff)
entered into RCS
Diffstat (limited to 'libnetfs/dir-mkfile.c')
-rw-r--r--libnetfs/dir-mkfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index ef9b6395..1be5566d 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -39,7 +39,7 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
flags &= OPENONLY_STATE_MODES;
newpi = netfs_make_protid (netfs_make_peropen (np, flags,
diruser->po->dotdotport),
- diruser->credential);
+ netfs_copy_credential (diruser->credential));
*newfile = ports_get_right (newpi);
*newfiletype = MACH_MSG_TYPE_COPY_SEND;
ports_port_deref (newpi);