mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Shell: Replace fprintf(stderr) => warnln()
This commit is contained in:
committed by
Andreas Kling
parent
6a9dced790
commit
bda69a5f59
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user