summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;