diff options
Diffstat (limited to 'libc/misc/dirent/scandir.c')
-rw-r--r-- | libc/misc/dirent/scandir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/scandir.c b/libc/misc/dirent/scandir.c index cc76bed5e..72929fb57 100644 --- a/libc/misc/dirent/scandir.c +++ b/libc/misc/dirent/scandir.c @@ -49,7 +49,7 @@ int scandir(const char *dir, struct dirent ***namelist, __set_errno (0); pos = 0; - while ((current = readdir (dp)) != NULL) + while ((current = __readdir (dp)) != NULL) if (selector == NULL || (*selector) (current)) { struct dirent *vnew; |