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/macppc | |
parent | c7bb58ffd3ad6fc8b402a37bee511cb1b92325de (diff) |
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/macppc/ofw_machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/pci/mpcpcibus.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/macppc/macppc/ofw_machdep.c b/sys/arch/macppc/macppc/ofw_machdep.c index 5cc42375c51..233c97d7600 100644 --- a/sys/arch/macppc/macppc/ofw_machdep.c +++ b/sys/arch/macppc/macppc/ofw_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_machdep.c,v 1.16 2002/09/15 09:01:58 deraadt Exp $ */ +/* $OpenBSD: ofw_machdep.c,v 1.17 2002/10/12 01:09:43 krw Exp $ */ /* $NetBSD: ofw_machdep.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */ /* @@ -544,7 +544,7 @@ of_display_console() len = OF_getprop(display_node, "assigned-addresses", addr, sizeof(addr)); if (len < sizeof(addr[0])) { - panic(": no address\n"); + panic(": no address"); } } len = OF_getprop(display_node, "backlight-control", diff --git a/sys/arch/macppc/pci/mpcpcibus.c b/sys/arch/macppc/pci/mpcpcibus.c index d7e3d994f17..5bc2fd27166 100644 --- a/sys/arch/macppc/pci/mpcpcibus.c +++ b/sys/arch/macppc/pci/mpcpcibus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpcpcibus.c,v 1.15 2002/10/07 05:39:48 drahn Exp $ */ +/* $OpenBSD: mpcpcibus.c,v 1.16 2002/10/12 01:09:43 krw Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom @@ -239,7 +239,7 @@ mpcpcibrattach(parent, self, aux) if ( bus_space_map(&(sc->sc_iobus_space), 0, NBPG, 0, &lcp->ioh_cf8) != 0 ) { - panic("mpcpcibus: unable to map self\n"); + panic("mpcpcibus: unable to map self"); } lcp->ioh_cfc = lcp->ioh_cf8; } else { @@ -252,12 +252,12 @@ mpcpcibrattach(parent, self, aux) if ( bus_space_map(&(sc->sc_iobus_space), 0xfec00000, NBPG, 0, &lcp->ioh_cf8) != 0 ) { - panic("mpcpcibus: unable to map self\n"); + panic("mpcpcibus: unable to map self"); } if ( bus_space_map(&(sc->sc_iobus_space), 0xfee00000, NBPG, 0, &lcp->ioh_cfc) != 0 ) { - panic("mpcpcibus: unable to map self\n"); + panic("mpcpcibus: unable to map self"); } } @@ -462,12 +462,12 @@ mpcpcibrattach(parent, self, aux) if ( bus_space_map(&(sc->sc_iobus_space), addr_offset, NBPG, 0, &lcp->ioh_cf8) != 0 ) { - panic("mpcpcibus: unable to map self\n"); + panic("mpcpcibus: unable to map self"); } if ( bus_space_map(&(sc->sc_iobus_space), data_offset, NBPG, 0, &lcp->ioh_cfc) != 0 ) { - panic("mpcpcibus: unable to map self\n"); + panic("mpcpcibus: unable to map self"); } of_node = ca->ca_node; |