diff options
Diffstat (limited to 'procps/nmeter.c')
-rw-r--r-- | procps/nmeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c index b6e754b7a..798afcf16 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c | |||
@@ -98,7 +98,7 @@ static void print_outbuf(void) | |||
98 | { | 98 | { |
99 | int sz = cur_outbuf - outbuf; | 99 | int sz = cur_outbuf - outbuf; |
100 | if (sz > 0) { | 100 | if (sz > 0) { |
101 | xwrite(1, outbuf, sz); | 101 | xwrite(STDOUT_FILENO, outbuf, sz); |
102 | cur_outbuf = outbuf; | 102 | cur_outbuf = outbuf; |
103 | } | 103 | } |
104 | } | 104 | } |