From 659b8149735de65c6cefd3ef2d31c2743b47267c Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 1 Jul 2010 19:47:08 +0000 Subject: I accidentally whacked something important. Sorry. --- sys/arch/i386/i386/trap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c index 5fa6cf4743d..c6ff5ee3ce9 100644 --- a/sys/arch/i386/i386/trap.c +++ b/sys/arch/i386/i386/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.90 2010/07/01 17:30:27 tedu Exp $ */ +/* $OpenBSD: trap.c,v 1.91 2010/07/01 19:47:07 tedu Exp $ */ /* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */ /*- @@ -597,6 +597,8 @@ syscall(struct trapframe *frame) nsys = p->p_emul->e_nsysent; callp = p->p_emul->e_sysent; + params = (caddr_t)frame->tf_esp + sizeof(int); + #ifdef VM86 /* * VM86 mode application found our syscall trap gate by accident; let -- cgit v1.2.3