Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi PR/50626: Vicente Chaves de Melo: acpi_display....



details:   https://anonhg.NetBSD.org/src/rev/b62d3d45cc0d
branches:  trunk
changeset: 342706:b62d3d45cc0d
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 06 01:37:17 2016 +0000

description:
PR/50626: Vicente Chaves de Melo: acpi_display.c erroneously sends character
to console during boot

diffstat:

 sys/dev/acpi/acpi_display.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4b5cce04bf4d -r b62d3d45cc0d sys/dev/acpi/acpi_display.c
--- a/sys/dev/acpi/acpi_display.c       Wed Jan 06 00:22:30 2016 +0000
+++ b/sys/dev/acpi/acpi_display.c       Wed Jan 06 01:37:17 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_display.c,v 1.12 2014/10/14 19:50:57 christos Exp $       */
+/*     $NetBSD: acpi_display.c,v 1.13 2016/01/06 01:37:17 christos Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_display.c,v 1.12 2014/10/14 19:50:57 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_display.c,v 1.13 2016/01/06 01:37:17 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -1895,7 +1895,7 @@
        }
 
        if (l > 1)
-               printf("]");
+               (*pr)("]");
 }
 
 static void



Home | Main Index | Thread Index | Old Index