coredump: pass siginfo_t* to do_coredump() and below, not merely signr
[linux-2.6-block.git] / fs / binfmt_flat.c
index 178cb70acc26de80ec3db21a8455e88b7fc0360b..e280352b28f9e48adab2cc8d94963b0cbaf8b181 100644 (file)
@@ -107,7 +107,7 @@ static struct linux_binfmt flat_format = {
 static int flat_core_dump(struct coredump_params *cprm)
 {
        printk("Process %s:%d received signr %d and should have core dumped\n",
-                       current->comm, current->pid, (int) cprm->signr);
+                       current->comm, current->pid, (int) cprm->siginfo->si_signo);
        return(1);
 }