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:
Linus Groh 2021-05-30 19:21:45 +01:00
parent 3a7574de82
commit 5e48769487
Notes: sideshowbarker 2024-07-18 17:06:31 +09:00

View File

@ -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();
}