diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-31 15:10:43 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-31 17:43:54 +0100 |
commit | ff914fabeb362ff0a333e8561e86f41005e9a175 (patch) | |
tree | e8c10b0e28bf064ad66d9612f8af5851d5baee97 /Userland | |
parent | dac0554fa05fa35de0f3ccbbb8f68c4125739d6f (diff) | |
download | serenity-ff914fabeb362ff0a333e8561e86f41005e9a175.zip |
LibWeb/WrapperGenerator: Replace a fprintf() with warnln()
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp b/Userland/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp index b315645c44..949a45adc0 100644 --- a/Userland/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp +++ b/Userland/Libraries/LibWeb/CodeGenerators/WrapperGenerator.cpp @@ -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; } |