mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Userland: Print which path we failed to ls
This commit is contained in:
parent
4417bd97d7
commit
cf04de188e
Notes:
sideshowbarker
2024-07-19 10:00:48 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/cf04de188e9 Pull-request: https://github.com/SerenityOS/serenity/pull/1079 Reviewed-by: https://github.com/awesomekling
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue