From: Denis Vlasenko Date: Mon, 26 Mar 2007 13:16:22 +0000 (-0000) Subject: nmeter: should die if stdout doesn't like him anymore X-Git-Tag: 1_6_0~314 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f62c6fa1cae0f944243c57b0a776c29eb0c61f18;p=oweals%2Fbusybox.git nmeter: should die if stdout doesn't like him anymore --- 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; } }