summaryrefslogtreecommitdiffstats
path: root/source/modules/vfs_netatalk.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-27 19:02:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:27 -0500
commit7751f46cc77887cd050b44eebb28909a871d4f6b (patch)
tree0c087d61ccb42263280540d9def10e7e239f685a /source/modules/vfs_netatalk.c
parent5cee4e94786c6fd63dab1a9805914a9ce6aa7227 (diff)
downloadsamba-7751f46cc77887cd050b44eebb28909a871d4f6b.tar.gz
samba-7751f46cc77887cd050b44eebb28909a871d4f6b.tar.xz
samba-7751f46cc77887cd050b44eebb28909a871d4f6b.zip
r3987: Use sys_readdir() instead of readdir()
Diffstat (limited to 'source/modules/vfs_netatalk.c')
-rw-r--r--source/modules/vfs_netatalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/modules/vfs_netatalk.c b/source/modules/vfs_netatalk.c
index eea00f1275a..68b8aad0ac5 100644
--- a/source/modules/vfs_netatalk.c
+++ b/source/modules/vfs_netatalk.c
@@ -156,7 +156,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path)
dir = opendir(path);
if (!dir) return;
- while (NULL != (dent = readdir(dir))) {
+ while (NULL != (dent = sys_readdir(dir))) {
if (strcmp(dent->d_name, ".") == 0 ||
strcmp(dent->d_name, "..") == 0)
continue;