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/mvme68k | |
parent | c7bb58ffd3ad6fc8b402a37bee511cb1b92325de (diff) |
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/dev/if_ie.c | 6 | ||||
-rw-r--r-- | sys/arch/mvme68k/dev/if_le.c | 6 | ||||
-rw-r--r-- | sys/arch/mvme68k/mvme68k/pmap_bootstrap.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/mvme68k/dev/if_ie.c b/sys/arch/mvme68k/dev/if_ie.c index 6dc8599c8d2..e5e58cd9d9a 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.19 2002/04/27 23:21:05 miod Exp $ */ +/* $OpenBSD: if_ie.c,v 1.20 2002/10/12 01:09:43 krw Exp $ */ /*- * Copyright (c) 1999 Steve Murphree, Jr. @@ -1398,7 +1398,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; @@ -1584,7 +1584,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/if_le.c b/sys/arch/mvme68k/dev/if_le.c index d713a73fb85..19174504720 100644 --- a/sys/arch/mvme68k/dev/if_le.c +++ b/sys/arch/mvme68k/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.19 2002/04/29 06:26:50 pvalchev Exp $ */ +/* $OpenBSD: if_le.c,v 1.20 2002/10/12 01:09:43 krw Exp $ */ /*- * Copyright (c) 1982, 1992, 1993 @@ -339,7 +339,7 @@ leattach(parent, self, aux) } sc->sc_mem = (void *)mapiodev(addr, VLEMEMSIZE); if (sc->sc_mem == NULL) - panic("\nle: no more memory in external I/O map\n"); + panic("le: no more memory in external I/O map"); lesc->sc_r1 = (void *)ca->ca_vaddr; lesc->sc_ipl = ca->ca_ipl; lesc->sc_vec = ca->ca_vec; @@ -377,7 +377,7 @@ leattach(parent, self, aux) myetheraddr(sc->sc_arpcom.ac_enaddr); break; default: - panic("\nle: unknown bus type.\n"); + panic("le: unknown bus type."); } evcnt_attach(&sc->sc_dev, "intr", &lesc->sc_intrcnt); evcnt_attach(&sc->sc_dev, "errs", &lesc->sc_errcnt); diff --git a/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c b/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c index f8ae7787af2..22ab88aa71d 100644 --- a/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c +++ b/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap_bootstrap.c,v 1.15 2002/02/23 04:58:28 miod Exp $ */ +/* $OpenBSD: pmap_bootstrap.c,v 1.16 2002/10/12 01:09:43 krw Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -156,5 +156,5 @@ pmap_init_md() NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, UVM_ADV_RANDOM, UVM_FLAG_FIXED))) - panic("pmap_init: bogons in the VM system!\n"); + panic("pmap_init: bogons in the VM system!"); } |