summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/dirent/readdir64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/dirent/readdir64.c b/libc/misc/dirent/readdir64.c
index 1630172ea..85404bb52 100644
--- a/libc/misc/dirent/readdir64.c
+++ b/libc/misc/dirent/readdir64.c
@@ -58,7 +58,7 @@ struct dirent64 *readdir64(DIR * dir)
dir->dd_nextoff = de->d_off;
/* Skip deleted files. */
- } while (dir->d_ino == 0);
+ } while (de->d_ino == 0);
all_done:
#ifdef _POSIX_THREADS