aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/exec.c b/fs/exec.c
index 27d487f913d3..f8fad7fc0e5f 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -2133,16 +2133,16 @@ void do_coredump(long signr, int exit_code, struct pt_regs *regs)
2133 2133
2134 ispipe = format_corename(&cn, signr); 2134 ispipe = format_corename(&cn, signr);
2135 2135
2136 if (ispipe == -ENOMEM) {
2137 printk(KERN_WARNING "format_corename failed\n");
2138 printk(KERN_WARNING "Aborting core\n");
2139 goto fail_corename;
2140 }
2141
2142 if (ispipe) { 2136 if (ispipe) {
2143 int dump_count; 2137 int dump_count;
2144 char **helper_argv; 2138 char **helper_argv;
2145 2139
2140 if (ispipe < 0) {
2141 printk(KERN_WARNING "format_corename failed\n");
2142 printk(KERN_WARNING "Aborting core\n");
2143 goto fail_corename;
2144 }
2145
2146 if (cprm.limit == 1) { 2146 if (cprm.limit == 1) {
2147 /* 2147 /*
2148 * Normally core limits are irrelevant to pipes, since 2148 * Normally core limits are irrelevant to pipes, since