diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
commit | b3067fd524234e263e58b215d0fb24d414bf1c34 (patch) | |
tree | 5c1576265dded5700ab387af81051fabd39f3396 /sys/arch/arm32/mainbus/qmouse.c | |
parent | 9ee95b4b405b050512cf782b508d774f4601a6b5 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/arm32/mainbus/qmouse.c')
-rw-r--r-- | sys/arch/arm32/mainbus/qmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm32/mainbus/qmouse.c b/sys/arch/arm32/mainbus/qmouse.c index b2a6447a073..14842236425 100644 --- a/sys/arch/arm32/mainbus/qmouse.c +++ b/sys/arch/arm32/mainbus/qmouse.c @@ -203,7 +203,7 @@ quadmouseopen(dev, flag, mode, p) WriteByte(IOMD_T1GO, 0); if (irq_claim(IRQ_TIMER1, &sc->sc_ih)) - panic("Cannot claim TIMER1 IRQ for quadmouse%d\n", sc->sc_device.dv_unit); + panic("Cannot claim TIMER1 IRQ for quadmouse%d", sc->sc_device.dv_unit); return(0); } @@ -220,7 +220,7 @@ quadmouseclose(dev, flag, mode, p) struct quadmouse_softc *sc = quadmouse_cd.cd_devs[unit]; if (irq_release(IRQ_TIMER1, &sc->sc_ih) != 0) - panic("Cannot release IRA\n"); + panic("Cannot release IRA"); sc->proc = NULL; sc->sc_state = 0; |