summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/smbw_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbw_dir.c')
-rw-r--r--source3/smbwrapper/smbw_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 39fe034e7b..c21c9b4983 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -353,7 +353,7 @@ int smbw_chdir(const char *name)
smbw_init();
- if (smbw_busy) return real_chdir(cwd);
+ if (smbw_busy) return real_chdir(name);
smbw_busy++;