summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2020-01-15 14:07:25 +0300
committerAndreas Kling <awesomekling@gmail.com>2020-01-17 21:49:58 +0100
commitcf04de188e9d236df950185f40194dbc3a864f10 (patch)
treea70a384109e8bc410c6163b6959bbea4604de475 /Userland
parent4417bd97d74fe58ebaee140ad085f145953e5ac6 (diff)
downloadserenity-cf04de188e9d236df950185f40194dbc3a864f10.zip
Userland: Print which path we failed to ls
Diffstat (limited to 'Userland')
-rw-r--r--Userland/ls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/ls.cpp b/Userland/ls.cpp
index 2ff32a9c29..313bb0a6da 100644
--- a/Userland/ls.cpp
+++ b/Userland/ls.cpp
@@ -295,7 +295,7 @@ int do_file_system_object_long(const char* path)
return 0;
return 2;
}
- fprintf(stderr, "CDirIterator: %s\n", di.error_string());
+ fprintf(stderr, "%s: %s\n", path, di.error_string());
return 1;
}
@@ -370,7 +370,7 @@ int do_file_system_object_short(const char* path)
return 0;
return 2;
}
- fprintf(stderr, "CDirIterator: %s\n", di.error_string());
+ fprintf(stderr, "%s: %s\n", path, di.error_string());
return 1;
}