diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-12 01:09:46 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-10-12 01:09:46 +0000 |
commit | fd4371e84bfe456363d8522471f8e03b42c3f36e (patch) | |
tree | a45b0b37f4702c1340cc44dce62c3b2b2e2ea809 /sys/arch/vax | |
parent | c7bb58ffd3ad6fc8b402a37bee511cb1b92325de (diff) |
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/if/if_qe.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/if/sgec.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vax/ka670.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vax/sgmap.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/vax/if/if_qe.c b/sys/arch/vax/if/if_qe.c index 8f0e7756aed..8b2088a5b6e 100644 --- a/sys/arch/vax/if/if_qe.c +++ b/sys/arch/vax/if/if_qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qe.c,v 1.13 2002/03/14 01:26:48 millert Exp $ */ +/* $OpenBSD: if_qe.c,v 1.14 2002/10/12 01:09:44 krw Exp $ */ /* $NetBSD: if_qe.c,v 1.39 2000/01/24 02:40:29 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -767,7 +767,7 @@ qe_add_rxbuf(sc, i) error = bus_dmamap_load(sc->sc_dmat, sc->sc_rcvmap[i], m->m_ext.ext_buf, m->m_ext.ext_size, NULL, BUS_DMA_NOWAIT); if (error) - panic("%s: can't load rx DMA map %d, error = %d\n", + panic("%s: can't load rx DMA map %d, error = %d", sc->sc_dev.dv_xname, i, error); sc->sc_rxmbuf[i] = m; diff --git a/sys/arch/vax/if/sgec.c b/sys/arch/vax/if/sgec.c index b4ddacb25ae..a53095fe22b 100644 --- a/sys/arch/vax/if/sgec.c +++ b/sys/arch/vax/if/sgec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sgec.c,v 1.4 2002/03/14 01:26:48 millert Exp $ */ +/* $OpenBSD: sgec.c,v 1.5 2002/10/12 01:09:44 krw Exp $ */ /* $NetBSD: sgec.c,v 1.5 2000/06/04 02:14:14 matt Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. All rights reserved. @@ -593,7 +593,7 @@ ze_add_rxbuf(sc, i) error = bus_dmamap_load(sc->sc_dmat, sc->sc_rcvmap[i], m->m_ext.ext_buf, m->m_ext.ext_size, NULL, BUS_DMA_NOWAIT); if (error) - panic("%s: can't load rx DMA map %d, error = %d\n", + panic("%s: can't load rx DMA map %d, error = %d", sc->sc_dev.dv_xname, i, error); sc->sc_rxmbuf[i] = m; diff --git a/sys/arch/vax/vax/ka670.c b/sys/arch/vax/vax/ka670.c index 57021664e81..4d257a6d070 100644 --- a/sys/arch/vax/vax/ka670.c +++ b/sys/arch/vax/vax/ka670.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ka670.c,v 1.6 2002/09/28 06:25:11 hugh Exp $ */ +/* $OpenBSD: ka670.c,v 1.7 2002/10/12 01:09:44 krw Exp $ */ /* $NetBSD: ka670.c,v 1.4 2000/03/13 23:52:35 soren Exp $ */ /* * Copyright (c) 1999 Ludd, University of Lule}, Sweden. @@ -140,7 +140,7 @@ ka670_mchk(addr) */ if (mfpr(PR_PCSTS) & KA670_PCS_TRAP2) { printf("TRAP2 (double error) in ka670_mchk.\n"); - panic("unrecoverable state in ka670_mchk.\n"); + panic("unrecoverable state in ka670_mchk."); return (-1); } if ((mcf->mc670_code & KA670_MC_RESTART) || diff --git a/sys/arch/vax/vax/sgmap.c b/sys/arch/vax/vax/sgmap.c index b5909f7e39f..be3ea70f93d 100644 --- a/sys/arch/vax/vax/sgmap.c +++ b/sys/arch/vax/vax/sgmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sgmap.c,v 1.6 2001/11/06 19:53:17 miod Exp $ */ +/* $OpenBSD: sgmap.c,v 1.7 2002/10/12 01:09:44 krw Exp $ */ /* $NetBSD: sgmap.c,v 1.8 2000/06/29 07:14:34 mrg Exp $ */ /*- @@ -91,7 +91,7 @@ vax_sgmap_init(t, sgmap, name, sgvabase, sgvasize, ptva, minptalign) minptalign = ptsize; if (bus_dmamem_alloc(t, ptsize, minptalign, 0, &seg, 1, &rseg, BUS_DMA_NOWAIT)) { - panic("unable to allocate page table for sgmap `%s'\n", + panic("unable to allocate page table for sgmap `%s'", name); goto die; } |