summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2009-08-23 15:02:21 +0000
committerjasper <jasper@openbsd.org>2009-08-23 15:02:21 +0000
commit887617ad5a74ed00a90a73059f37c2cf3aac6eb9 (patch)
tree6a0ff4f57f14f0a70927ec0e250cf7be97581ea8
parentMake aucat remember the control channel number a client is using. When the (diff)
downloadwireguard-openbsd-887617ad5a74ed00a90a73059f37c2cf3aac6eb9.tar.xz
wireguard-openbsd-887617ad5a74ed00a90a73059f37c2cf3aac6eb9.zip
- turn a printf(), which predated a panic()-function that could take printf-like arguments,
into panic() and remove call to Debugger() hint and ok deraadt@
-rw-r--r--sys/dev/isa/fd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 8c51510a216..e5545c58a8b 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.78 2009/08/13 15:23:12 deraadt Exp $ */
+/* $OpenBSD: fd.c,v 1.79 2009/08/23 15:02:21 jasper Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -776,10 +776,7 @@ loop:
{int block;
block = (fd->sc_cylin * type->heads + head) * type->sectrac + sec;
if (block != fd->sc_blkno) {
- printf("fdintr: block %d != blkno %llu\n", block, fd->sc_blkno);
-#ifdef DDB
- Debugger();
-#endif
+ panic("fdintr: block %d != blkno %llu\n", block, fd->sc_blkno);
}}
#endif
read = bp->b_flags & B_READ ? DMAMODE_READ : DMAMODE_WRITE;