summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-12 00:09:05 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-12 00:09:05 +0000
commit2a5a0a62f80c5c4a5dad7850d81b8af05d460126 (patch)
tree26349407c5c3c8755781b1568dec4e55cd42ea67 /sys/arch/sparc/dev
parentdd420d8d2cf46e968449cd9843fe226db67264f2 (diff)
Do not drop the user in ddb in DIAGNOSTIC checks unless option FD_DEBUG.
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fd.c b/sys/arch/sparc/dev/fd.c
index 5cff44d21e8..1d88fcd7b3a 100644
--- a/sys/arch/sparc/dev/fd.c
+++ b/sys/arch/sparc/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.39 2004/12/25 23:02:25 miod Exp $ */
+/* $OpenBSD: fd.c,v 1.40 2005/03/12 00:09:01 miod Exp $ */
/* $NetBSD: fd.c,v 1.51 1997/05/24 20:16:19 pk Exp $ */
/*-
@@ -1409,7 +1409,7 @@ loop:
block = (fd->sc_cylin * type->heads + head) * type->sectrac + sec;
if (block != fd->sc_blkno) {
printf("fdcintr: block %d != blkno %d\n", block, fd->sc_blkno);
-#ifdef DDB
+#if defined(FD_DEBUG) && defined(DDB)
Debugger();
#endif
}}