mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +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: cf04de188e
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 0;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
|
fprintf(stderr, "%s: %s\n", path, di.error_string());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -370,7 +370,7 @@ int do_file_system_object_short(const char* path)
|
||||||
return 0;
|
return 0;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "CDirIterator: %s\n", di.error_string());
|
fprintf(stderr, "%s: %s\n", path, di.error_string());
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue