Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch: make dmesg more pretty



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
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


Home | Main Index | Thread Index | Old Index