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 Use '\n' at the end of all aprint_error_dev...



details:   https://anonhg.NetBSD.org/src/rev/02c7504bd511
branches:  trunk
changeset: 790084:02c7504bd511
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Sep 17 01:16:45 2013 +0000

description:
Use '\n' at the end of all aprint_error_dev() format strings.

diffstat:

 sys/arch/x86/pci/ichlpcib.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (44 lines):

diff -r 2de9b739738a -r 02c7504bd511 sys/arch/x86/pci/ichlpcib.c
--- a/sys/arch/x86/pci/ichlpcib.c       Tue Sep 17 00:50:19 2013 +0000
+++ b/sys/arch/x86/pci/ichlpcib.c       Tue Sep 17 01:16:45 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ichlpcib.c,v 1.39 2013/06/04 13:59:16 msaitoh Exp $    */
+/*     $NetBSD: ichlpcib.c,v 1.40 2013/09/17 01:16:45 jakllsch Exp $   */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.39 2013/06/04 13:59:16 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ichlpcib.c,v 1.40 2013/09/17 01:16:45 jakllsch Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -315,7 +315,7 @@
         */
        if (pci_mapreg_map(pa, LPCIB_PCI_PMBASE, PCI_MAPREG_TYPE_IO, 0,
                           &sc->sc_iot, &sc->sc_ioh, NULL, &sc->sc_iosize)) {
-               aprint_error_dev(self, "can't map power management i/o space");
+               aprint_error_dev(self, "can't map power management i/o space\n");
                return;
        }
 
@@ -331,14 +331,14 @@
                rcba = pci_conf_read(sc->sc_pcib.sc_pc, sc->sc_pcib.sc_tag,
                     LPCIB_RCBA);
                if ((rcba & LPCIB_RCBA_EN) == 0) {
-                       aprint_error_dev(self, "RCBA is not enabled");
+                       aprint_error_dev(self, "RCBA is not enabled\n");
                        return;
                }
                rcba &= ~LPCIB_RCBA_EN;
 
                if (bus_space_map(sc->sc_rcbat, rcba, LPCIB_RCBA_SIZE, 0,
                                  &sc->sc_rcbah)) {
-                       aprint_error_dev(self, "RCBA could not be mapped");
+                       aprint_error_dev(self, "RCBA could not be mapped\n");
                        return;
                }
        }



Home | Main Index | Thread Index | Old Index