mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +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
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ private:
|
||||||
|
|
||||||
auto file = Core::File::construct("/proc/net/adapters");
|
auto file = Core::File::construct("/proc/net/adapters");
|
||||||
if (!file->open(Core::OpenMode::ReadOnly)) {
|
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();
|
return adapter_info.to_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue