Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci more fix line break position in verbose mes...



details:   https://anonhg.NetBSD.org/src/rev/70ba898d5094
branches:  trunk
changeset: 347417:70ba898d5094
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Aug 25 12:21:21 2016 +0000

description:
more fix line break position in verbose message.

diffstat:

 sys/arch/x86/pci/pci_machdep.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r eaefc769e7f6 -r 70ba898d5094 sys/arch/x86/pci/pci_machdep.c
--- a/sys/arch/x86/pci/pci_machdep.c    Thu Aug 25 12:19:42 2016 +0000
+++ b/sys/arch/x86/pci/pci_machdep.c    Thu Aug 25 12:21:21 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.75 2016/08/25 11:06:50 knakahara Exp $       */
+/*     $NetBSD: pci_machdep.c,v 1.76 2016/08/25 12:21:21 nonaka Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.75 2016/08/25 11:06:50 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.76 2016/08/25 12:21:21 nonaka Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -486,11 +486,15 @@
        if (pci_has_msi_quirk(id, PCI_QUIRK_DISABLE_MSI)) {
                pba->pba_flags &= ~PCI_FLAGS_MSI_OKAY;
                pba->pba_flags &= ~PCI_FLAGS_MSIX_OKAY;
-               aprint_verbose_dev(self, "\nThis pci host supports neither MSI nor MSI-X.");
+               aprint_verbose("\n");
+               aprint_verbose_dev(self,
+                   "This pci host supports neither MSI nor MSI-X.");
        } else if (pci_has_msi_quirk(id, PCI_QUIRK_DISABLE_MSIX)) {
                pba->pba_flags |= PCI_FLAGS_MSI_OKAY;
                pba->pba_flags &= ~PCI_FLAGS_MSIX_OKAY;
-               aprint_verbose_dev(self, "\nThis pci host does not support MSI-X.");
+               aprint_verbose("\n");
+               aprint_verbose_dev(self,
+                   "This pci host does not support MSI-X.");
        } else {
                pba->pba_flags |= PCI_FLAGS_MSI_OKAY;
                pba->pba_flags |= PCI_FLAGS_MSIX_OKAY;



Home | Main Index | Thread Index | Old Index