diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 01:58:00 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 01:58:00 +0000 |
commit | 2f10b00f0ab323af0befe8b6887b503520414090 (patch) | |
tree | cba9104faa95efa6b3e58c890162c0a038fd4dc5 /sys/dev/isa/wdc.c | |
parent | 430e24f1924a311d24a78e1e622e6388703db4e6 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/dev/isa/wdc.c')
-rw-r--r-- | sys/dev/isa/wdc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c index 316263e740a..06b50d7c0e9 100644 --- a/sys/dev/isa/wdc.c +++ b/sys/dev/isa/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.35 1998/09/15 01:40:08 downsj Exp $ */ +/* $OpenBSD: wdc.c,v 1.36 1999/01/11 01:57:52 millert Exp $ */ /* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */ /* @@ -390,7 +390,7 @@ wdcstart(wdc) } #ifdef DIAGNOSTIC if ((wdc->sc_flags & WDCF_IRQ_WAIT) != 0) - panic("wdcstart: controller waiting for irq\n"); + panic("wdcstart: controller waiting for irq"); #endif /* * XXX @@ -1895,7 +1895,7 @@ wdc_get_xfer(c_link,flags) splx(s); #ifdef DIAGNOSTIC if ((xfer->c_flags & C_INUSE) != 0) - panic("wdc_get_xfer: xfer already in use\n"); + panic("wdc_get_xfer: xfer already in use"); #endif } else { splx(s); @@ -1916,7 +1916,7 @@ wdc_get_xfer(c_link,flags) } #ifdef DIAGNOSTIC if ((xfer->c_flags & C_INUSE) != 0) - panic("wdc_get_xfer: xfer already in use\n"); + panic("wdc_get_xfer: xfer already in use"); #endif bzero(xfer, sizeof(struct wdc_xfer)); xfer->c_flags = C_INUSE; |