summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-30 19:21:45 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-31 17:44:01 +0100
commit5e4876948776b876247259278da076f59277317f (patch)
tree7361b3280818a15050c739c6937b12adeac5c6d6 /Userland
parent3a7574de825a8e49d3f0cafe475d51a2ab151963 (diff)
downloadserenity-5e4876948776b876247259278da076f59277317f.zip
Applets/Network: Replace fprintf(stderr) with dbgln()
This is an applet, so we're not going to see its stderr anyway.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applets/Network/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applets/Network/main.cpp b/Userland/Applets/Network/main.cpp
index c37c1237a4..be371597bd 100644
--- a/Userland/Applets/Network/main.cpp
+++ b/Userland/Applets/Network/main.cpp
@@ -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();
}