Use correct signal when calling sigexit.
This commit is contained in:
parent
ae9fcf4c66
commit
1fc434dc9a
@ -1517,7 +1517,9 @@ trapsignal(struct thread *td, int sig, u_long code)
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
} else {
|
||||
/* UTS caused a sync signal */
|
||||
sigexit(td, SIGILL);
|
||||
p->p_code = code; /* XXX for core dump/debugger */
|
||||
p->p_sig = sig; /* XXX to verify code */
|
||||
sigexit(td, sig);
|
||||
}
|
||||
} else {
|
||||
PROC_LOCK(p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user