From 17e462619b40a4bf9213cb3f777ef1dce3060bdc Mon Sep 17 00:00:00 2001 From: takawata Date: Mon, 14 Aug 2006 18:38:56 +0000 Subject: Improve exception string format. PR:100671 MFC after: 3 days --- sys/dev/acpi_support/acpi_ibm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/acpi_support') diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index 5f282de..d8f3cef 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -920,7 +920,7 @@ acpi_ibm_notify(ACPI_HANDLE h, UINT32 notify, void *context) ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, notify); if (notify != 0x80) - printf("Unknown notify\n"); + device_printf(dev, "Unknown notify\n"); for (;;) { acpi_GetInteger(acpi_get_handle(dev), IBM_NAME_EVENTS_GET, &event); @@ -934,7 +934,7 @@ acpi_ibm_notify(ACPI_HANDLE h, UINT32 notify, void *context) switch (type) { case 1: if (!(sc->events_availmask & (1 << (arg - 1)))) { - printf("Unknown key %d\n", arg); + device_printf(dev, "Unknown key %d\n", arg); break; } -- cgit v1.1