diff options
author | takawata <takawata@FreeBSD.org> | 2006-08-14 18:38:56 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2006-08-14 18:38:56 +0000 |
commit | 17e462619b40a4bf9213cb3f777ef1dce3060bdc (patch) | |
tree | 69d8633cd900f458d6979a48aacf6c25b32cfbf9 /sys/dev/acpi_support | |
parent | f7a6e9157594edcd49f39faa45a439a4eb5cf86e (diff) | |
download | FreeBSD-src-17e462619b40a4bf9213cb3f777ef1dce3060bdc.zip FreeBSD-src-17e462619b40a4bf9213cb3f777ef1dce3060bdc.tar.gz |
Improve exception string format.
PR:100671
MFC after: 3 days
Diffstat (limited to 'sys/dev/acpi_support')
-rw-r--r-- | sys/dev/acpi_support/acpi_ibm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |