Module Name:    src
Committed By:   christos
Date:           Wed Jan  6 01:37:17 UTC 2016

Modified Files:
        src/sys/dev/acpi: acpi_display.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/acpi_display.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/dev/acpi/acpi_display.c
diff -u src/sys/dev/acpi/acpi_display.c:1.12 src/sys/dev/acpi/acpi_display.c:1.13
--- src/sys/dev/acpi/acpi_display.c:1.12	Tue Oct 14 15:50:57 2014
+++ src/sys/dev/acpi/acpi_display.c	Tue Jan  5 20:37:17 2016
@@ -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 @@ ranger(uint8_t *a, size_t l, void (*pr)(
 	}
 
 	if (l > 1)
-		printf("]");
+		(*pr)("]");
 }
 
 static void

Reply via email to