diff options
author | jeff <jeff@FreeBSD.org> | 2003-03-31 22:41:32 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-03-31 22:41:32 +0000 |
commit | 554fb3155709b904a93ff82faea577e959db6102 (patch) | |
tree | 04831126d976118ad8a958020fe631d2a2a3ea78 /sys/i386 | |
parent | fd2957e04150a2ba9576b04a68cae529ea460ef3 (diff) | |
download | FreeBSD-src-554fb3155709b904a93ff82faea577e959db6102.zip FreeBSD-src-554fb3155709b904a93ff82faea577e959db6102.tar.gz |
- Fix two calls to trapsignal() that were still passing in 'struct proc'.
These were missed in my last commit.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index d29cc07..0eb46ee 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -645,7 +645,7 @@ trap(frame) if (*p->p_sysent->sv_transtrap) i = (*p->p_sysent->sv_transtrap)(i, type); - trapsignal(p, i, ucode); + trapsignal(td, i, ucode); #ifdef DEBUG if (type <= MAX_TRAP_MSG) { @@ -1071,7 +1071,7 @@ syscall(frame) */ if ((orig_tf_eflags & PSL_T) && !(orig_tf_eflags & PSL_VM)) { frame.tf_eflags &= ~PSL_T; - trapsignal(p, SIGTRAP, 0); + trapsignal(td, SIGTRAP, 0); } /* |