summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
commitb3067fd524234e263e58b215d0fb24d414bf1c34 (patch)
tree5c1576265dded5700ab387af81051fabd39f3396 /sys/arch/mvme68k
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/dev/if_ie.c6
-rw-r--r--sys/arch/mvme68k/dev/nvram.c4
-rw-r--r--sys/arch/mvme68k/mvme68k/pmap.c4
-rw-r--r--sys/arch/mvme68k/stand/netboot/dev_net.c6
-rw-r--r--sys/arch/mvme68k/stand/netboot/if_ie.c4
-rw-r--r--sys/arch/mvme68k/stand/netboot/if_le.c8
6 files changed, 16 insertions, 16 deletions
diff --git a/sys/arch/mvme68k/dev/if_ie.c b/sys/arch/mvme68k/dev/if_ie.c
index c24c082d865..a630770fce1 100644
--- a/sys/arch/mvme68k/dev/if_ie.c
+++ b/sys/arch/mvme68k/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.7 1996/05/29 17:54:11 chuck Exp $ */
+/* $OpenBSD: if_ie.c,v 1.8 1999/01/11 05:11:38 millert Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -1403,7 +1403,7 @@ iereset(sc)
#ifdef notdef
if (!check_ie_present(sc, sc->sc_maddr, sc->sc_msize))
- panic("ie disappeared!\n");
+ panic("ie disappeared!");
#endif
sc->sc_arpcom.ac_if.if_flags |= IFF_UP;
@@ -1593,7 +1593,7 @@ setup_bufs(sc)
sc->nframes = n / r;
if (sc->nframes <= 0)
- panic("ie: bogus buffer calc\n");
+ panic("ie: bogus buffer calc");
if (sc->nframes > MXFRAMES)
sc->nframes = MXFRAMES;
diff --git a/sys/arch/mvme68k/dev/nvram.c b/sys/arch/mvme68k/dev/nvram.c
index 708aa23490f..0559a963eb6 100644
--- a/sys/arch/mvme68k/dev/nvram.c
+++ b/sys/arch/mvme68k/dev/nvram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvram.c,v 1.4 1996/06/11 10:15:16 deraadt Exp $ */
+/* $OpenBSD: nvram.c,v 1.5 1999/01/11 05:11:38 millert Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -96,7 +96,7 @@ nvramattach(parent, self, args)
/*X*/ sc->sc_vaddr = mapiodev((void *)sc->sc_paddr,
/*X*/ max(sc->sc_len, NBPG));
/*X*/ if (sc->sc_vaddr == NULL)
-/*X*/ panic("failed to map!\n");
+/*X*/ panic("failed to map!");
sc->sc_regs = (struct clockreg *)(sc->sc_vaddr + sc->sc_len -
sizeof(struct clockreg));
diff --git a/sys/arch/mvme68k/mvme68k/pmap.c b/sys/arch/mvme68k/mvme68k/pmap.c
index 4ca075b67fa..f20ef5c9b2b 100644
--- a/sys/arch/mvme68k/mvme68k/pmap.c
+++ b/sys/arch/mvme68k/mvme68k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.7 1998/03/01 00:37:44 niklas Exp $ */
+/* $OpenBSD: pmap.c,v 1.8 1999/01/11 05:11:39 millert Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -459,7 +459,7 @@ pmap_init(phys_start, phys_end)
*/
if (addr != (vm_offset_t)Sysmap)
bogons:
- panic("pmap_init: bogons in the VM system!\n");
+ panic("pmap_init: bogons in the VM system!");
#ifdef DEBUG
if (pmapdebug & PDB_INIT) {
diff --git a/sys/arch/mvme68k/stand/netboot/dev_net.c b/sys/arch/mvme68k/stand/netboot/dev_net.c
index 241b3ac47df..38192ff7626 100644
--- a/sys/arch/mvme68k/stand/netboot/dev_net.c
+++ b/sys/arch/mvme68k/stand/netboot/dev_net.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_net.c,v 1.6 1996/05/16 02:55:36 chuck Exp $ */
+/* $OpenBSD: dev_net.c,v 1.7 1999/01/11 05:11:41 millert Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -191,7 +191,7 @@ machdep_common_ether(ether)
ea = (u_char *) ETHER_ADDR_147;
if ((*(int *) ea & 0x2fffff00) == 0x2fffff00)
- panic("ERROR: ethernet address not set!\r\n");
+ panic("ERROR: ethernet address not set!");
ether[0] = 0x08;
ether[1] = 0x00;
ether[2] = 0x3e;
@@ -202,7 +202,7 @@ machdep_common_ether(ether)
ea = (u_char *) ETHER_ADDR_16X;
if (ea[0] + ea[1] + ea[2] + ea[3] + ea[4] + ea[5] == 0)
- panic("ERROR: ethernet address not set!\r\n");
+ panic("ERROR: ethernet address not set!");
ether[0] = ea[0];
ether[1] = ea[1];
ether[2] = ea[2];
diff --git a/sys/arch/mvme68k/stand/netboot/if_ie.c b/sys/arch/mvme68k/stand/netboot/if_ie.c
index c688d625fce..feb174df23d 100644
--- a/sys/arch/mvme68k/stand/netboot/if_ie.c
+++ b/sys/arch/mvme68k/stand/netboot/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.5 1996/05/16 02:55:36 chuck Exp $ */
+/* $OpenBSD: if_ie.c,v 1.6 1999/01/11 05:11:41 millert Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -150,7 +150,7 @@ ie_error(nif, str, ier)
char *str;
volatile struct iereg *ier;
{
- panic("ie%d: unknown error\n", nif->nif_unit);
+ panic("ie%d: unknown error", nif->nif_unit);
}
ieack(ier, iem)
diff --git a/sys/arch/mvme68k/stand/netboot/if_le.c b/sys/arch/mvme68k/stand/netboot/if_le.c
index d3ded1d6070..3ca8000c03f 100644
--- a/sys/arch/mvme68k/stand/netboot/if_le.c
+++ b/sys/arch/mvme68k/stand/netboot/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.6 1996/05/16 02:55:37 chuck Exp $ */
+/* $OpenBSD: if_le.c,v 1.7 1999/01/11 05:11:41 millert Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -174,7 +174,7 @@ le_error(nif, str, ler1)
{
/* ler1->ler1_rap = LE_CSRO done in caller */
if (ler1->ler1_rdp & LE_C0_BABL)
- panic("le%d: been babbling, found by '%s'\n", nif->nif_unit, str);
+ panic("le%d: been babbling, found by '%s'", nif->nif_unit, str);
if (ler1->ler1_rdp & LE_C0_CERR) {
le_stats.collision_error++;
ler1->ler1_rdp = LE_C0_CERR;
@@ -299,12 +299,12 @@ le_poll(desc, pkt, len)
goto cleanup;
}
if ((rmd->rmd1_bits & (LE_R1_STP | LE_R1_ENP)) != (LE_R1_STP | LE_R1_ENP))
- panic("le_poll: chained packet\n");
+ panic("le_poll: chained packet");
length = rmd->rmd3;
if (length >= LEMTU) {
length = 0;
- panic("csr0 when bad things happen: %x\n", ler1->ler1_rdp);
+ panic("csr0 when bad things happen: %x", ler1->ler1_rdp);
goto cleanup;
}
if (!length)