hexdump: fix error message

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-06-17 23:23:26 +02:00
parent f02b64de86
commit a0f8076d19

View File

@ -211,7 +211,7 @@ static NOINLINE void rewrite(priv_dumper_t *dumper, FS *fs)
pr->bcnt = fu->bcnt;
if (fu->bcnt == 0) {
if (!prec)
bb_simple_error_msg_and_die("%%s needs precision or byte count");
bb_simple_error_msg_and_die("%s needs precision or byte count");
pr->bcnt = atoi(prec);
}
} else