acpi_spibus.c: fix i386 build
intmax_t requires %j format specifier, %z is for size_t.
Fixes: 7d380b986a
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
15876d9fd8
commit
676f02a482
@ -213,7 +213,7 @@ acpi_spibus_get_apple_res(device_t spibus, ACPI_HANDLE dev,
|
||||
*(uint64_t *)comp[1].Buffer.Pointer : 0;
|
||||
|
||||
if (bootverbose)
|
||||
printf(" %s: %zu\n", k, (intmax_t)val);
|
||||
printf(" %s: %ju\n", k, (intmax_t)val);
|
||||
|
||||
if (strcmp(k, "spiSclkPeriod") == 0) {
|
||||
if (val != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user