From b32a5436633f53f0abf0fa29105cf7e5b65091cf Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 29 Aug 2010 13:29:02 +0200 Subject: nandwrite: complain on malformed -s NUM Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko --- shell/shell_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/shell_common.c b/shell/shell_common.c index 9345005c7..e9effd2d0 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c @@ -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; -- cgit v1.2.3