diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c index b86c6ed15728..459146d740ed 100644 --- a/sys/alpha/alpha/trap.c +++ b/sys/alpha/alpha/trap.c @@ -700,7 +700,7 @@ syscall(code, framep) PROC_UNLOCK(p); #ifdef DIAGNOSTIC - alpha_fpstate_check(p); + alpha_fpstate_check(td); #endif if (p->p_sysent->sv_prepsyscall) {