summaryrefslogtreecommitdiff
path: root/source3/modules
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
commit86d528928d672e8ff95f4876e4285a178a051bf1 (patch)
tree0fd4abd2bd295b7712a9c270a2151098c79b693b /source3/modules
parent06f4c0265999168e54f27a22ead48cdef3d65a12 (diff)
downloadsamba-86d528928d672e8ff95f4876e4285a178a051bf1.tar.gz
samba-86d528928d672e8ff95f4876e4285a178a051bf1.tar.bz2
samba-86d528928d672e8ff95f4876e4285a178a051bf1.zip
r3987: Use sys_readdir() instead of readdir()
(This used to be commit 7751f46cc77887cd050b44eebb28909a871d4f6b)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_netatalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c
index eea00f1275..68b8aad0ac 100644
--- a/source3/modules/vfs_netatalk.c
+++ b/source3/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;