summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2001-12-08 18:05:59 +0000
committermiod <miod@openbsd.org>2001-12-08 18:05:59 +0000
commitb0ac7661cf4838fd04e941736dcacb5a7275fbe6 (patch)
treec7be9263675472e7e816e19cbfd712cd25b53e69
parentuse only one path to X11 UNIX domain socket vs. an array of paths (diff)
downloadwireguard-openbsd-b0ac7661cf4838fd04e941736dcacb5a7275fbe6.tar.xz
wireguard-openbsd-b0ac7661cf4838fd04e941736dcacb5a7275fbe6.zip
Be 9600-bauds friendly and panic() on unexpected issues, rather than printf()
in loop.
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index f0fed8abeda..0f841fa6b5c 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.70 2001/12/08 02:24:06 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.71 2001/12/08 18:05:59 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1713,8 +1713,8 @@ sbc_ext_int(u_int v, struct m88100_saved_state *eframe)
*/
if ((mask == level) && level) {
- printf("mask == level, %d\n", level);
- goto beatit;
+ panic("mask == level, %d\n", level);
+ return;
}
/*
@@ -1723,8 +1723,8 @@ sbc_ext_int(u_int v, struct m88100_saved_state *eframe)
*/
if (level == 0) {
- printf("Bogons... level %x and mask %x\n", level, mask);
- goto beatit;
+ panic("Bogons... level %x and mask %x\n", level, mask);
+ return;
}
/* and block interrupts at level or lower */
@@ -1809,9 +1809,6 @@ out:
* was taken.
*/
setipl((u_char)mask);
-
-beatit:
- return;
}
#endif /* defined(MVME187) || defined(MVME197) */