aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/dir-rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/dir-rename.c')
-rw-r--r--libnetfs/dir-rename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetfs/dir-rename.c b/libnetfs/dir-rename.c
index 6898c5e9..0215376b 100644
--- a/libnetfs/dir-rename.c
+++ b/libnetfs/dir-rename.c
@@ -34,7 +34,7 @@ netfs_S_dir_rename (struct protid *fromdiruser, char *fromname,
return EXDEV;
/* Note that nothing is locked here */
- err = netfs_attempt_rename (fromdiruser->credential, fromdiruser->po->np,
+ err = netfs_attempt_rename (fromdiruser->user, fromdiruser->po->np,
fromname, todiruser->po->np, toname, excl);
if (!err)
mach_port_deallocate (mach_task_self (), todiruser->pi.port_right);