aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 13:16:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-26 13:16:22 +0000
commitf62c6fa1cae0f944243c57b0a776c29eb0c61f18 (patch)
treee7655011585d13ae70f6b1b9e4b4c709541add04 /miscutils
parentcd43dfdeec6250dc17fa6bd247d4690897f5361e (diff)
downloadbusybox-f62c6fa1cae0f944243c57b0a776c29eb0c61f18.tar.gz
nmeter: should die if stdout doesn't like him anymore
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/nmeter.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}