mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
Userland: Print which path we failed to ls
This commit is contained in:
parent
4417bd97d7
commit
cf04de188e
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
Add a link
Reference in a new issue