nandwrite: complain on malformed -s NUM
Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a78227dc73
commit
b32a543663
5 changed files with 8 additions and 6 deletions
|
@ -422,7 +422,7 @@ shell_builtin_ulimit(char **argv)
|
|||
else
|
||||
val = bb_strtoull(val_str, NULL, 10);
|
||||
if (errno) {
|
||||
bb_error_msg("bad number");
|
||||
bb_error_msg("invalid number '%s'", val_str);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
val <<= l->factor_shift;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue