summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2001-11-29 15:33:46 +0000
committergallatin <gallatin@FreeBSD.org>2001-11-29 15:33:46 +0000
commitcfbc70ccd277f7d7f4131f82a5bc4f35c84b45f9 (patch)
tree9235dcf56de9e6e478692aab4f9553d1a858071c /sys
parentb5eb75e20ed90732b313992a0911e593849d550a (diff)
downloadFreeBSD-src-cfbc70ccd277f7d7f4131f82a5bc4f35c84b45f9.zip
FreeBSD-src-cfbc70ccd277f7d7f4131f82a5bc4f35c84b45f9.tar.gz
fix DIAGNOSTIC panic caused by proc/thread typo
tested by: Martijn Pronk <martijn@smartie.xs4all.nl>
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index b86c6ed..459146d 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) {
OpenPOWER on IntegriCloud