diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-23 15:02:22 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-23 15:02:22 +0000 |
commit | 879e729ce324cafbd3d3371341114eece6cbb6ad (patch) | |
tree | 689ad2cb26aefa57edff0ac004000b66df879853 /sys/dev | |
parent | 9b1399a4b209467104a8fe058f7075c7fe87d357 (diff) |
- 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@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/fd.c | 7 |
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; |