@ -35,7 +35,8 @@ main(int argc, char *argv[])
printf(2, "ls: read error\n");
exit();
}
printf(1, "%s\n", dirent.name);
if (dirent.inum != 0)
close(fd);