1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

Userland: Print which path we failed to ls

This commit is contained in:
Sergey Bugaev 2020-01-15 14:07:25 +03:00 committed by Andreas Kling
parent 4417bd97d7
commit cf04de188e

View file

@ -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;
}