1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

Shell: Replace fprintf(stderr) => warnln()

This commit is contained in:
Ali Mohammad Pur 2021-05-02 11:27:53 +04:30 committed by Andreas Kling
parent 6a9dced790
commit bda69a5f59
3 changed files with 37 additions and 37 deletions

View file

@ -107,7 +107,7 @@ int main(int argc, char** argv)
if (format) {
auto file = Core::File::open(format, Core::IODevice::ReadOnly);
if (file.is_error()) {
fprintf(stderr, "Error: %s", file.error().characters());
warnln("Error: {}", file.error());
return 1;
}