summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls.c b/ls.c
index d8c2a6a..6bee6b7 100644
--- a/ls.c
+++ b/ls.c
@@ -64,7 +64,7 @@ main(int argc, char *argv[])
}
if(dirent.inum != 0) {
// xxx prepend to name the pathname supplied to ls (e.g. .. in ls ..)
- if(stat (dirent.name, &st) < 0) {
+ if(stat (dirent.name, &st) < 0) {
printf(1, "stat: failed %s\n", dirent.name);
continue;
}