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:
parent
6a9dced790
commit
bda69a5f59
3 changed files with 37 additions and 37 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue