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/rtfps.c | |
parent | 430e24f1924a311d24a78e1e622e6388703db4e6 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/dev/isa/rtfps.c')
-rw-r--r-- | sys/dev/isa/rtfps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/rtfps.c b/sys/dev/isa/rtfps.c index 8ecb5a76c0f..479c8afccd2 100644 --- a/sys/dev/isa/rtfps.c +++ b/sys/dev/isa/rtfps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtfps.c,v 1.17 1997/07/07 16:38:22 niklas Exp $ */ +/* $OpenBSD: rtfps.c,v 1.18 1999/01/11 01:57:52 millert Exp $ */ /* $NetBSD: rtfps.c,v 1.27 1996/10/21 22:41:18 thorpej Exp $ */ /* @@ -169,7 +169,7 @@ rtfpsattach(parent, self, aux) COM_NPORTS, 0, &sc->sc_slaveioh[i])) panic("rtfpsattach: couldn't map slave %d", i); if (bus_space_map(iot, sc->sc_irqport, 1, 0, &sc->sc_irqioh)) - panic("rtfpsattach: couldn't map irq port at 0x%x\n", + panic("rtfpsattach: couldn't map irq port at 0x%x", sc->sc_irqport); bus_space_write_1(iot, sc->sc_irqioh, 0, 0); |