diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2020-01-15 14:07:25 +0300 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-17 21:49:58 +0100 |
commit | cf04de188e9d236df950185f40194dbc3a864f10 (patch) | |
tree | a70a384109e8bc410c6163b6959bbea4604de475 /Userland | |
parent | 4417bd97d74fe58ebaee140ad085f145953e5ac6 (diff) | |
download | serenity-cf04de188e9d236df950185f40194dbc3a864f10.zip |
Userland: Print which path we failed to ls
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/ls.cpp | 4 |
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; } |