summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpext/gpext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c
index 165e10ad49..6177bdc710 100644
--- a/libgpo/gpext/gpext.c
+++ b/libgpo/gpext/gpext.c
@@ -496,7 +496,7 @@ static NTSTATUS gp_glob_ext_list(TALLOC_CTX *mem_ctx,
return map_nt_error_from_unix_common(errno);
}
- while ((dirent = sys_readdir(dir))) {
+ while ((dirent = readdir(dir))) {
fstring name; /* forgive me... */
char *p;