mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Improve exception string format.
PR:100671 MFC after: 3 days
This commit is contained in:
parent
924ede2031
commit
b98a0eca16
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue