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/sun3/dev/si.c | |
parent | 9ee95b4b405b050512cf782b508d774f4601a6b5 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/sun3/dev/si.c')
-rw-r--r-- | sys/arch/sun3/dev/si.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sun3/dev/si.c b/sys/arch/sun3/dev/si.c index 341ba7d5a0e..9b32b6ae59c 100644 --- a/sys/arch/sun3/dev/si.c +++ b/sys/arch/sun3/dev/si.c @@ -1,4 +1,4 @@ -/* $OpenBSD: si.c,v 1.8 1997/01/16 19:42:49 kstailey Exp $ */ +/* $OpenBSD: si.c,v 1.9 1999/01/11 05:12:02 millert Exp $ */ /* $NetBSD: si.c,v 1.31 1996/11/20 18:56:59 gwr Exp $ */ /*- @@ -205,7 +205,7 @@ si_attach(sc) sc->sc_dma = (struct si_dma_handle *) malloc(i, M_DEVBUF, M_WAITOK); if (sc->sc_dma == NULL) - panic("si: dvma_malloc failed\n"); + panic("si: dvma_malloc failed"); for (i = 0; i < SCI_OPENINGS; i++) sc->sc_dma[i].dh_flags = 0; @@ -356,7 +356,7 @@ si_dma_alloc(ncr_sc) /* Make sure our caller checked sc_min_dma_len. */ if (xlen < MIN_DMA_LEN) - panic("si_dma_alloc: xlen=0x%x\n", xlen); + panic("si_dma_alloc: xlen=0x%x", xlen); /* * Never attempt single transfers of more than 63k, because |