Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-29 15:29:02 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-29 15:29:02 +0400
commitb32a5436633f53f0abf0fa29105cf7e5b65091cf (patch)
treee84b5d75ddee2a7bc3cb8a42d9ee669c15ba6e6f /shell/shell_common.c
parenta78227dc7320738ec930edbde1aaa0023a51ee4c (diff)
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>
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r--shell/shell_common.c2
1 files changed, 1 insertions, 1 deletions
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;