diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-29 13:29:02 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-29 13:29:02 +0200 |
| commit | b32a5436633f53f0abf0fa29105cf7e5b65091cf (patch) | |
| tree | e84b5d75ddee2a7bc3cb8a42d9ee669c15ba6e6f /shell | |
| parent | a78227dc7320738ec930edbde1aaa0023a51ee4c (diff) | |
| download | busybox-w32-b32a5436633f53f0abf0fa29105cf7e5b65091cf.tar.gz busybox-w32-b32a5436633f53f0abf0fa29105cf7e5b65091cf.tar.bz2 busybox-w32-b32a5436633f53f0abf0fa29105cf7e5b65091cf.zip | |
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')
| -rw-r--r-- | shell/shell_common.c | 2 |
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) | |||
| 422 | else | 422 | else |
| 423 | val = bb_strtoull(val_str, NULL, 10); | 423 | val = bb_strtoull(val_str, NULL, 10); |
| 424 | if (errno) { | 424 | if (errno) { |
| 425 | bb_error_msg("bad number"); | 425 | bb_error_msg("invalid number '%s'", val_str); |
| 426 | return EXIT_FAILURE; | 426 | return EXIT_FAILURE; |
| 427 | } | 427 | } |
| 428 | val <<= l->factor_shift; | 428 | val <<= l->factor_shift; |
