|
@@ -522,7 +522,7 @@ void do_coredump(siginfo_t *siginfo)
|
|
|
|
|
|
ispipe = format_corename(&cn, &cprm);
|
|
ispipe = format_corename(&cn, &cprm);
|
|
|
|
|
|
- if (ispipe) {
|
|
|
|
|
|
+ if (ispipe) {
|
|
int dump_count;
|
|
int dump_count;
|
|
char **helper_argv;
|
|
char **helper_argv;
|
|
|
|
|
|
@@ -576,10 +576,10 @@ void do_coredump(siginfo_t *siginfo)
|
|
NULL, &cprm);
|
|
NULL, &cprm);
|
|
argv_free(helper_argv);
|
|
argv_free(helper_argv);
|
|
if (retval) {
|
|
if (retval) {
|
|
- printk(KERN_INFO "Core dump to %s pipe failed\n",
|
|
|
|
|
|
+ printk(KERN_INFO "Core dump to %s pipe failed\n",
|
|
cn.corename);
|
|
cn.corename);
|
|
goto close_fail;
|
|
goto close_fail;
|
|
- }
|
|
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
struct inode *inode;
|
|
struct inode *inode;
|
|
|
|
|