summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 95500b0862..0fb3e3ff2f 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2082,7 +2082,7 @@ static int file_find(struct file_list **list, const char *directory,
bool isdir;
const char *dname;
- dir = sys_opendir(directory);
+ dir = opendir(directory);
if (!dir)
return -1;