summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc/mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 2ff9d9b4..36921f53 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -448,7 +448,7 @@ S_proc_exception_raise (mach_port_t excport,
_hurd_exception2signal (&hsd, &signo);
p->p_exiting = 1;
p->p_status = W_EXITCODE (0, signo);
- p->p_sigcode = hsd.subcode;
+ p->p_sigcode = hsd.code;
/* Nuke the task; we will get a notification message and report it
died with SIGNO. */