diff options
author | 2000-04-27 00:41:06 +0000 | |
---|---|---|
committer | 2000-04-27 00:41:06 +0000 | |
commit | 8f21d6719a8bbc390eb5f3faadf37d9900240a9a (patch) | |
tree | 7eeb2e655ad95c30d70035ce41934ae1aff7d1c6 | |
parent | would you like a tgz to go? (diff) | |
download | wireguard-openbsd-8f21d6719a8bbc390eb5f3faadf37d9900240a9a.tar.xz wireguard-openbsd-8f21d6719a8bbc390eb5f3faadf37d9900240a9a.zip |
newline manglings
-rw-r--r-- | sys/arch/i386/pci/pchb.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/arch/i386/pci/pchb.c b/sys/arch/i386/pci/pchb.c index 35b7c5add1b..c85a4883a99 100644 --- a/sys/arch/i386/pci/pchb.c +++ b/sys/arch/i386/pci/pchb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pchb.c,v 1.10 2000/04/26 18:39:29 deraadt Exp $ */ +/* $OpenBSD: pchb.c,v 1.11 2000/04/27 00:41:06 deraadt Exp $ */ /* $NetBSD: pchb.c,v 1.6 1997/06/06 23:29:16 thorpej Exp $ */ /* @@ -154,6 +154,7 @@ pchbattach(parent, self, aux) struct pcibus_attach_args pba; pcireg_t bcreg; u_char bdnum, pbnum; + int neednl = 1; int i; /* @@ -176,7 +177,8 @@ pchbattach(parent, self, aux) * This host bridge has a second PCI bus. * Configure it. */ - printf(": has pci bus %d", bdnum); + printf(": has pci bus %d\n", bdnum); + neednl = 0; pba.pba_busname = "pci"; pba.pba_iot = pa->pa_iot; pba.pba_memt = pa->pa_memt; @@ -216,7 +218,9 @@ pchbattach(parent, self, aux) printf(": Compatibility PB (bus %d)", pbnum); break; case PCISET_INTEL_TYPE_AUX: - printf(": Auxiliary PB (bus %d)", pbnum); + printf(": Auxiliary PB (bus %d)\n", pbnum); + neednl = 0; + /* * This host bridge has a second PCI bus. * Configure it. @@ -284,7 +288,8 @@ pchbattach(parent, self, aux) break; } } - printf("\n"); + if (neednl) + printf("\n"); } int |