svn commit: trunk/busybox/miscutils

vda at busybox.net vda at busybox.net
Mon Mar 26 13:16:22 UTC 2007


Author: vda
Date: 2007-03-26 06:16:22 -0700 (Mon, 26 Mar 2007)
New Revision: 18240

Log:
nmeter: should die if stdout doesn't like him anymore


Modified:
   trunk/busybox/miscutils/nmeter.c


Changeset:
Modified: trunk/busybox/miscutils/nmeter.c
===================================================================
--- trunk/busybox/miscutils/nmeter.c	2007-03-26 10:46:31 UTC (rev 18239)
+++ trunk/busybox/miscutils/nmeter.c	2007-03-26 13:16:22 UTC (rev 18240)
@@ -59,7 +59,7 @@
 {
 	int sz = cur_outbuf - outbuf;
 	if (sz > 0) {
-		write(1, outbuf, sz);
+		xwrite(1, outbuf, sz);
 		cur_outbuf = outbuf;
 	}
 }




More information about the busybox-cvs mailing list