From b3067fd524234e263e58b215d0fb24d414bf1c34 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Jan 1999 05:12:41 +0000 Subject: panic prints a newline for you, don't do it in the panic string --- sys/arch/arm32/mainbus/qmouse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/arm32/mainbus/qmouse.c') 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; -- cgit v1.2.3