diff options
Diffstat (limited to 'sys/i386/svr4/svr4_machdep.c')
-rw-r--r-- | sys/i386/svr4/svr4_machdep.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/i386/svr4/svr4_machdep.c b/sys/i386/svr4/svr4_machdep.c index 3b731a23da8e..cc03dee7e842 100644 --- a/sys/i386/svr4/svr4_machdep.c +++ b/sys/i386/svr4/svr4_machdep.c @@ -411,11 +411,10 @@ svr4_getsiginfo(si, sig, code, addr) * will return to the user pc, psl. */ void -svr4_sendsig(catcher, sig, mask, code) +svr4_sendsig(catcher, ksi, mask) sig_t catcher; - int sig; + ksiginfo_t ksi; sigset_t *mask; - u_long code; { register struct thread *td = curthread; struct proc *p = td->td_proc; @@ -423,11 +422,15 @@ svr4_sendsig(catcher, sig, mask, code) struct svr4_sigframe *fp, frame; struct sigacts *psp; int oonstack; + int sig; + int code; #if defined(DEBUG_SVR4) printf("svr4_sendsig(%d)\n", sig); #endif PROC_LOCK_ASSERT(p, MA_OWNED); + sig = ksi->ksi_signo; + code = ksi->ksi_trapno; /* use trap No. */ psp = p->p_sigacts; mtx_assert(&psp->ps_mtx, MA_OWNED); |