summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miscutils/nmeter.c2
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;
}
}