summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/i386/trap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index 0b5cd237baa..26f1b20fd9b 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.84 2007/05/29 18:47:51 tom Exp $ */
+/* $OpenBSD: trap.c,v 1.85 2007/06/26 13:39:02 tom Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
/*-
@@ -311,8 +311,10 @@ trap(struct trapframe frame)
offsetof(struct trapframe, tf_gs));
resume = (int)resume_pop_gs;
break;
+ default:
+ goto we_re_toast;
}
- break;
+ break;
default:
goto we_re_toast;
}