summaryrefslogtreecommitdiffstats
path: root/source3/modules
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:01:19 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commitfe526bb32b7d65be10a05d2525b36f004215b003 (patch)
treead05557880529acfe09c4ffb8bd30ffdac6a55a1 /source3/modules
parentb74fe73a6fb5862121235f18bc1dfe538e6ceaed (diff)
downloadsamba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.gz
samba-fe526bb32b7d65be10a05d2525b36f004215b003.tar.xz
samba-fe526bb32b7d65be10a05d2525b36f004215b003.zip
build: Remove sys_opendir wrapper
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_default.c2
-rw-r--r--source3/modules/vfs_netatalk.c2
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))) {