ls: printf("%s", s) -> fputs(s, stdout)

This commit is contained in:
Hiltjo Posthuma
2015-09-06 22:36:01 +02:00
committed by sin
parent 874d131728
commit aba450fd1a
2 changed files with 2 additions and 2 deletions

2
ls.c
View File

@@ -335,7 +335,7 @@ ls(const char *path, const struct entry *ent, int listdir)
else
putchar('\n');
printf("%s", path);
fputs(path, stdout);
lsdir(path, ent);
tree[treeind].ino = 0;