NetBSD-Bugs archive

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

kern/50626: acpi_display.c erroneously sends character to console during boot



>Number:         50626
>Category:       kern
>Synopsis:       acpi_display.c erroneously sends character to console during boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 06 01:25:00 +0000 2016
>Originator:     Vicente Chaves de Melo
>Release:        netbsd-current
>Organization:
>Environment:
NetBSD dm4.st3tailor.net 7.99.25 NetBSD 7.99.25 (GENERIC) #6: Sat Jan  2 22:58:52 BRST 2016  root%dm4.st3tailor.net@localhost:/root/sysbuild/amd64/obj/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
Appears a character ']' on console during acpiout attach
>How-To-Repeat:
booting netbsd-current on a laptop HP dm4-2175br
>Fix:
cvs diff: Diffing sys/dev/acpi
Index: sys/dev/acpi/acpi_display.c
===================================================================
RCS file: /cvsroot/src/sys/dev/acpi/acpi_display.c,v
retrieving revision 1.12
diff -u -r1.12 acpi_display.c
--- sys/dev/acpi/acpi_display.c 14 Oct 2014 19:50:57 -0000      1.12
+++ sys/dev/acpi/acpi_display.c 6 Jan 2016 01:03:15 -0000
@@ -1895,7 +1895,7 @@
        }
 
        if (l > 1)
-               printf("]");
+               (*pr)("]");
 }
 
 static void
cvs diff: Diffing sys/dev/acpi/acpica
cvs diff: Diffing sys/dev/acpi/wmi



Home | Main Index | Thread Index | Old Index