From b79bd5db746d2346fa45df315018d068fb215b3f Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 10 Jul 2014 21:50:43 +0000 Subject: panic() doesn't need a newline ok pirofti@ --- sys/arch/octeon/dev/octhci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/arch/octeon/dev/octhci.c b/sys/arch/octeon/dev/octhci.c index 3a1b647c3ce..d8c646c0838 100644 --- a/sys/arch/octeon/dev/octhci.c +++ b/sys/arch/octeon/dev/octhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octhci.c,v 1.4 2014/07/10 12:20:19 pirofti Exp $ */ +/* $OpenBSD: octhci.c,v 1.5 2014/07/10 21:50:42 jasper Exp $ */ /* * Copyright (c) 2014 Paul Irofti @@ -208,7 +208,7 @@ octhci_attach(struct device *parent, struct device *self, void *aux) sc->sc_ih = octeon_intr_establish(CIU_INT_USB, IPL_USB, octhci_intr, (void *)sc, sc->sc_bus.bdev.dv_xname); if (sc->sc_ih == NULL) - panic(": can't interrupt establish failed\n"); + panic(": can't interrupt establish failed"); #endif /* @@ -362,10 +362,10 @@ octhci_intr(void *arg) if (intsts & USBC_GINTSTS_RXFLVL) /* Failed assumption: no DMA */ - panic("octhci_intr: Packets pending to be read from RxFIFO\n"); + panic("octhci_intr: Packets pending to be read from RxFIFO"); if ((intsts & USBC_GINTSTS_PTXFEMP) || (intsts & USBC_GINTSTS_NPTXFEMP)) /* Failed assumption: no DMA */ - panic("octhci_intr: Packets pending to be written on TxFIFO\n"); + panic("octhci_intr: Packets pending to be written on TxFIFO"); if ((intsts & USBC_GINTSTS_DISCONNINT) || (intsts & USBC_GINTSTS_PRTINT)) { /* Device disconnected */ -- cgit v1.2.3