fix DIAGNOSTIC panic caused by proc/thread typo

tested by: Martijn Pronk <martijn@smartie.xs4all.nl>
This commit is contained in:
Andrew Gallatin 2001-11-29 15:33:46 +00:00
parent 307b922e38
commit a58b29a603
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87092

View File

@ -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) {