diff options
Diffstat (limited to 'sys/kern/sys_procdesc.c')
-rw-r--r-- | sys/kern/sys_procdesc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_procdesc.c b/sys/kern/sys_procdesc.c index 948595f..0d3b1f4 100644 --- a/sys/kern/sys_procdesc.c +++ b/sys/kern/sys_procdesc.c @@ -295,7 +295,7 @@ procdesc_exit(struct proc *p) ("procdesc_exit: closed && parent not init")); pd->pd_flags |= PDF_EXITED; - pd->pd_xstat = p->p_xstat; + pd->pd_xstat = KW_EXITCODE(p->p_xexit, p->p_xsig); /* * If the process descriptor has been closed, then we have nothing |