mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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;
|
*(uint64_t *)comp[1].Buffer.Pointer : 0;
|
||||||
|
|
||||||
if (bootverbose)
|
if (bootverbose)
|
||||||
printf(" %s: %zu\n", k, (intmax_t)val);
|
printf(" %s: %ju\n", k, (intmax_t)val);
|
||||||
|
|
||||||
if (strcmp(k, "spiSclkPeriod") == 0) {
|
if (strcmp(k, "spiSclkPeriod") == 0) {
|
||||||
if (val != 0)
|
if (val != 0)
|
||||||
|
|
Loading…
Reference in a new issue