diff options
Diffstat (limited to 'shell/shell_common.c')
-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 e0582adfb..a93533903 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -619,7 +619,7 @@ shell_builtin_ulimit(char **argv) | |||
619 | limit.rlim_cur = val; | 619 | limit.rlim_cur = val; |
620 | //bb_error_msg("setrlimit(%d, %lld, %lld)", limits_tbl[i].cmd, (long long)limit.rlim_cur, (long long)limit.rlim_max); | 620 | //bb_error_msg("setrlimit(%d, %lld, %lld)", limits_tbl[i].cmd, (long long)limit.rlim_cur, (long long)limit.rlim_max); |
621 | if (setrlimit(limits_tbl[i].cmd, &limit) < 0) { | 621 | if (setrlimit(limits_tbl[i].cmd, &limit) < 0) { |
622 | bb_perror_msg("error setting limit"); | 622 | bb_simple_perror_msg("error setting limit"); |
623 | return EXIT_FAILURE; | 623 | return EXIT_FAILURE; |
624 | } | 624 | } |
625 | } | 625 | } |