diff options
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_default.c | 2 | ||||
-rw-r--r-- | source3/modules/vfs_netatalk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 615c0296b4..1c55fe7bbe 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -348,7 +348,7 @@ static SMB_STRUCT_DIR *vfswrap_opendir(vfs_handle_struct *handle, const char *f SMB_STRUCT_DIR *result; START_PROFILE(syscall_opendir); - result = sys_opendir(fname); + result = opendir(fname); END_PROFILE(syscall_opendir); return result; } diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 95de44137b..12d1f66c58 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -157,7 +157,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path) if (!path) return; - dir = sys_opendir(path); + dir = opendir(path); if (!dir) return; while (NULL != (dent = sys_readdir(dir))) { |