summaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorEric Andersen2004-03-20 00:56:46 +0000
committerEric Andersen2004-03-20 00:56:46 +0000
commitbfb51574ae1c289766716ba695a36afcbfd8855a (patch)
treeb07207d41c56b60ac0f8f9299849e8101da42c41 /miscutils/hdparm.c
parent539fa95e0d3123ee7b5499c528ea9ddd3c7eb2bd (diff)
downloadbusybox-bfb51574ae1c289766716ba695a36afcbfd8855a.zip
busybox-bfb51574ae1c289766716ba695a36afcbfd8855a.tar.gz
Tito noticed a printf that should have been a bb_error_msg.
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 099f40f..d0ea613 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -2836,7 +2836,7 @@ error:
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;