1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Improve exception string format.

PR:100671
MFC after: 3 days
This commit is contained in:
Takanori Watanabe 2006-08-14 18:38:56 +00:00
parent 924ede2031
commit b98a0eca16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161289

View File

@ -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;
}