diff options
author | Denis Vlasenko | 2007-03-26 13:16:22 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-03-26 13:16:22 +0000 |
commit | f62c6fa1cae0f944243c57b0a776c29eb0c61f18 (patch) | |
tree | e7655011585d13ae70f6b1b9e4b4c709541add04 | |
parent | cd43dfdeec6250dc17fa6bd247d4690897f5361e (diff) | |
download | busybox-f62c6fa1cae0f944243c57b0a776c29eb0c61f18.zip busybox-f62c6fa1cae0f944243c57b0a776c29eb0c61f18.tar.gz |
nmeter: should die if stdout doesn't like him anymore
-rw-r--r-- | miscutils/nmeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/nmeter.c b/miscutils/nmeter.c index efc78d7..0b49903 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; } } |