diff --git a/sys/pc98/pc98/npx.c b/sys/pc98/pc98/npx.c index e31e308b4474..c8c0c735671b 100644 --- a/sys/pc98/pc98/npx.c +++ b/sys/pc98/pc98/npx.c @@ -835,9 +835,9 @@ npx_intr(dummy) * * Treat them like a true async interrupt. */ - PROC_LOCK(p); + PROC_LOCK(curproc); psignal(curproc, SIGFPE); - PROC_UNLOCK(p); + PROC_UNLOCK(curproc); } mtx_unlock(&Giant); }