Tito noticed a printf that should have been a bb_error_msg.
authorEric Andersen <andersen@codepoet.org>
Sat, 20 Mar 2004 00:56:46 +0000 (00:56 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 20 Mar 2004 00:56:46 +0000 (00:56 -0000)
miscutils/hdparm.c

index 099f40face454a1b575aecd3a29b08140a305ac5..d0ea6135ec940bc33dfa0eb9d6eb119f22ec1777 100644 (file)
@@ -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;