Explorar o código

Oops. Stupid typo.

Eric Andersen %!s(int64=24) %!d(string=hai) anos
pai
achega
ca495251cb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      libc/misc/dirent/readdir64.c

+ 1 - 1
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