aboutsummaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
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)
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;