diff --git a/miscutils/nmeter.c b/miscutils/nmeter.c index efc78d767..0b499034e 100644 --- a/miscutils/nmeter.c +++ b/miscutils/nmeter.c @@ -59,7 +59,7 @@ static void print_outbuf(void) { int sz = cur_outbuf - outbuf; if (sz > 0) { - write(1, outbuf, sz); + xwrite(1, outbuf, sz); cur_outbuf = outbuf; } }