Module Name: src Committed By: jakllsch Date: Tue Sep 17 01:16:45 UTC 2013
Modified Files: src/sys/arch/x86/pci: ichlpcib.c Log Message: Use '\n' at the end of all aprint_error_dev() format strings. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x86/pci/ichlpcib.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/pci/ichlpcib.c diff -u src/sys/arch/x86/pci/ichlpcib.c:1.39 src/sys/arch/x86/pci/ichlpcib.c:1.40 --- src/sys/arch/x86/pci/ichlpcib.c:1.39 Tue Jun 4 13:59:16 2013 +++ src/sys/arch/x86/pci/ichlpcib.c Tue Sep 17 01:16:45 2013 @@ -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 @@ lpcibattach(device_t parent, device_t se */ 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 @@ lpcibattach(device_t parent, device_t se 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; } }