mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-30 22:54:35 +03:00
Applets/Network: Replace fprintf(stderr) with dbgln()
This is an applet, so we're not going to see its stderr anyway.
This commit is contained in:
parent
3a7574de82
commit
5e48769487
Notes:
sideshowbarker
2024-07-18 17:06:31 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/5e487694877 Pull-request: https://github.com/SerenityOS/serenity/pull/7631
@ -109,7 +109,7 @@ private:
|
||||
|
||||
auto file = Core::File::construct("/proc/net/adapters");
|
||||
if (!file->open(Core::OpenMode::ReadOnly)) {
|
||||
fprintf(stderr, "Error: %s\n", file->error_string());
|
||||
dbgln("Error: Could not open {}: {}", file->name(), file->error_string());
|
||||
return adapter_info.to_string();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user