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:
Denys Vlasenko
2010-08-29 13:29:02 +02:00
parent a78227dc73
commit b32a543663
5 changed files with 8 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ int renice_main(int argc UNUSED_PARAM, char **argv)
} else {
who = bb_strtou(arg, NULL, 10);
if (errno) {
bb_error_msg("bad value: %s", arg);
bb_error_msg("invalid number '%s'", arg);
goto HAD_ERROR;
}
}