aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-20 00:56:46 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-20 00:56:46 +0000
commitbfb51574ae1c289766716ba695a36afcbfd8855a (patch)
treeb07207d41c56b60ac0f8f9299849e8101da42c41
parent539fa95e0d3123ee7b5499c528ea9ddd3c7eb2bd (diff)
downloadbusybox-w32-bfb51574ae1c289766716ba695a36afcbfd8855a.tar.gz
busybox-w32-bfb51574ae1c289766716ba695a36afcbfd8855a.tar.bz2
busybox-w32-bfb51574ae1c289766716ba695a36afcbfd8855a.zip
Tito noticed a printf that should have been a bb_error_msg.
-rw-r--r--miscutils/hdparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 099f40fac..d0ea6135e 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -2836,7 +2836,7 @@ error:
2836 p = *argv++, --argc; 2836 p = *argv++, --argc;
2837 p=GET_NUMBER(p,&set_apmmode,&apmmode); 2837 p=GET_NUMBER(p,&set_apmmode,&apmmode);
2838 if (!set_apmmode) 2838 if (!set_apmmode)
2839 printf("-B: %s (1-255)", bb_msg_missing_value); 2839 bb_error_msg("-B: %s (1-255)", bb_msg_missing_value);
2840 break; 2840 break;
2841 case 't': 2841 case 't':
2842 do_timings = 1; 2842 do_timings = 1;