diff options
-rw-r--r-- | libc/misc/dirent/readdir64.c | 2 |
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 |