diff options
Diffstat (limited to 'libnetfs/dir-mkfile.c')
-rw-r--r-- | libnetfs/dir-mkfile.c | 2 |
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); |