mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
LibWeb/WrapperGenerator: Replace a fprintf() with warnln()
This commit is contained in:
parent
dac0554fa0
commit
ff914fabeb
Notes:
sideshowbarker
2024-07-18 17:06:38 +09:00
Author: https://github.com/linusg
Commit: ff914fabeb
Pull-request: https://github.com/SerenityOS/serenity/pull/7630
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto file_or_error = Core::File::open(path, Core::OpenMode::ReadOnly);
|
||||
if (file_or_error.is_error()) {
|
||||
fprintf(stderr, "Cannot open %s\n", path);
|
||||
warnln("Failed to open {}: {}", path, file_or_error.error());
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue