summaryrefslogtreecommitdiff
path: root/source/smbd/msdfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/msdfs.c')
-rw-r--r--source/smbd/msdfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/msdfs.c b/source/smbd/msdfs.c
index b61a3280808..be88a924147 100644
--- a/source/smbd/msdfs.c
+++ b/source/smbd/msdfs.c
@@ -989,7 +989,7 @@ static BOOL form_junctions(int snum, struct junction_map* jucn, int* jn_count)
cnt++;
/* Now enumerate all dfs links */
- dirp = SMB_VFS_OPENDIR(conn, ".");
+ dirp = SMB_VFS_OPENDIR(conn, ".", NULL, 0);
if(!dirp)
goto out;