From 5e4876948776b876247259278da076f59277317f Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 30 May 2021 19:21:45 +0100 Subject: [PATCH] Applets/Network: Replace fprintf(stderr) with dbgln() This is an applet, so we're not going to see its stderr anyway. --- Userland/Applets/Network/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applets/Network/main.cpp b/Userland/Applets/Network/main.cpp index c37c1237a47..be371597bd2 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(); }