PR/50626: Vicente Chaves de Melo: acpi_display.c erroneously sends character

to console during boot
This commit is contained in:
christos 2016-01-06 01:37:17 +00:00
parent d731d322c1
commit e453ad6414

View File

@ -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)(const char *, ...) __printflike(1, 2))
}
if (l > 1)
printf("]");
(*pr)("]");
}
static void