summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-07-21 18:39:59 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-07-21 18:39:59 +0000
commitde9e69d94f4862961c25e1fdcd31c373b07dc688 (patch)
tree205eed561427cffcb7a7d03f4fa0224f64b09dbc /sys/arch/i386
parent8c63bfaaa4de115f5eabc751313bc89ba98416a9 (diff)
Fix conversion of interrupt frame to trap frame.
ok deraadt@, niklas@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/isa/npx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/npx.c b/sys/arch/i386/isa/npx.c
index 423a998ffde..5f315a8f334 100644
--- a/sys/arch/i386/isa/npx.c
+++ b/sys/arch/i386/isa/npx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npx.c,v 1.33 2004/07/13 20:43:13 art Exp $ */
+/* $OpenBSD: npx.c,v 1.34 2004/07/21 18:39:58 kettenis Exp $ */
/* $NetBSD: npx.c,v 1.57 1996/05/12 23:12:24 mycroft Exp $ */
#if 0
@@ -504,7 +504,7 @@ npxintr(arg)
* in doreti, and the frame for that could easily be set up
* just before it is used).
*/
- p->p_md.md_regs = (struct trapframe *)&frame->if_es;
+ p->p_md.md_regs = (struct trapframe *)&frame->if_fs;
/*
* Encode the appropriate code for detailed information on