[BusyBox-cvs] busybox/miscutils hdparm.c,1.12,1.13

Erik Andersen andersen at busybox.net
Sat Mar 20 00:56:48 UTC 2004


Update of /var/cvs/busybox/miscutils
In directory nail:/tmp/cvs-serv2405/miscutils

Modified Files:
	hdparm.c 
Log Message:
Tito noticed a printf that should have been a bb_error_msg.


Index: hdparm.c
===================================================================
RCS file: /var/cvs/busybox/miscutils/hdparm.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- a/hdparm.c	19 Mar 2004 10:53:52 -0000	1.12
+++ b/hdparm.c	20 Mar 2004 00:56:46 -0000	1.13
@@ -2836,7 +2836,7 @@
 							p = *argv++, --argc;
 						p=GET_NUMBER(p,&set_apmmode,&apmmode);
 						if (!set_apmmode)
-							printf("-B: %s (1-255)", bb_msg_missing_value);
+							bb_error_msg("-B: %s (1-255)", bb_msg_missing_value);
 						break;
 					case 't':
 						do_timings = 1;




More information about the busybox-cvs mailing list