Subject: patch: make dmesg more pretty
To: None <port-xen@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: port-xen
Date: 07/19/2007 13:58:26
--Boundary-00=_iH1nG07OrEdYEKz
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Hi!

There's a missing new line in arch/x86/x86/pci_machdep.c.
Patch is attached.


Without the patch I get:
pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as 
bus 0

With the patch I get:

pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0


Christoph

--Boundary-00=_iH1nG07OrEdYEKz
Content-Type: text/x-diff;
  charset="us-ascii";
  name="pci_machdep.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="pci_machdep.diff"

Index: pci_machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/pci/pci_machdep.c,v
retrieving revision 1.23
diff -u -p -r1.23 pci_machdep.c
--- pci_machdep.c	9 Jul 2007 20:52:38 -0000	1.23
+++ pci_machdep.c	19 Jul 2007 11:53:59 -0000
@@ -247,7 +247,7 @@ pci_attach_hook(struct device *parent, s
 {
 
 	if (pba->pba_bus == 0)
-		printf(": configuration mode %d", pci_mode);
+		printf(": configuration mode %d\n", pci_mode);
 #ifdef MPBIOS
 	mpbios_pci_attach_hook(parent, self, pba);
 #endif

--Boundary-00=_iH1nG07OrEdYEKz--