mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue