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 b6e754b..798afcf 100644 --- a/procps/nmeter.c +++ b/procps/nmeter.c @@ -98,7 +98,7 @@ static void print_outbuf(void) { int sz = cur_outbuf - outbuf; if (sz > 0) { - xwrite(1, outbuf, sz); + xwrite(STDOUT_FILENO, outbuf, sz); cur_outbuf = outbuf; } } |