]> granicus.if.org Git - procps-ng/commitdiff
stdout, not stderr -- thanks to Sander van Malssen
authoralbert <>
Wed, 11 Dec 2002 21:25:04 +0000 (21:25 +0000)
committeralbert <>
Wed, 11 Dec 2002 21:25:04 +0000 (21:25 +0000)
w.c

diff --git a/w.c b/w.c
index f8d5b5117b8e2a605ff1afc1559faa4fe4be8516..b0340758f63160e4c967590ad2cd85c87c102a37 100644 (file)
--- a/w.c
+++ b/w.c
@@ -64,7 +64,7 @@ static void print_host(const char *restrict host, int len) {
        }
     }
     // space-fill, and a '-' too if needed to ensure the column exists
-    if(width < 16) fputs("-               "+width, stderr);
+    if(width < 16) fputs("-               "+width, stdout);
 }
 
 /***** compact 7 char format for time intervals (belongs in libproc?) */