diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-30 19:21:45 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-31 17:44:01 +0100 |
commit | 5e4876948776b876247259278da076f59277317f (patch) | |
tree | 7361b3280818a15050c739c6937b12adeac5c6d6 /Userland/Applets/Network | |
parent | 3a7574de825a8e49d3f0cafe475d51a2ab151963 (diff) | |
download | serenity-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/Applets/Network')
-rw-r--r-- | Userland/Applets/Network/main.cpp | 2 |
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(); } |