git: 676f02a4823f - main - acpi_spibus.c: fix i386 build

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 06 Aug 2023 21:27:41 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=676f02a4823f8a4a6e10a1cba73c6324c19b651b

commit 676f02a4823f8a4a6e10a1cba73c6324c19b651b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-08-06 21:08:35 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-06 21:09:52 +0000

    acpi_spibus.c: fix i386 build
    
    intmax_t requires %j format specifier, %z is for size_t.
    
    Fixes:  7d380b986a1808164846cfd9afb5ae3f99921fcf
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/spibus/acpi_spibus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/spibus/acpi_spibus.c b/sys/dev/spibus/acpi_spibus.c
index c7b897937eea..7241ad15bdab 100644
--- a/sys/dev/spibus/acpi_spibus.c
+++ b/sys/dev/spibus/acpi_spibus.c
@@ -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)