git: 13e520658ec0 - main - fdt_loader_cmd.c: fix compilation with DEBUG
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 May 2025 13:53:56 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=13e520658ec0cce6e450a587aa3a2b560fc86616
commit 13e520658ec0cce6e450a587aa3a2b560fc86616
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-11-12 15:39:28 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-05-15 13:53:31 +0000
fdt_loader_cmd.c: fix compilation with DEBUG
It was broken on 64-bit platforms.
---
stand/fdt/fdt_loader_cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stand/fdt/fdt_loader_cmd.c b/stand/fdt/fdt_loader_cmd.c
index c51e8c5ab583..226812a5d2a6 100644
--- a/stand/fdt/fdt_loader_cmd.c
+++ b/stand/fdt/fdt_loader_cmd.c
@@ -990,7 +990,7 @@ int
fdt_copy(vm_offset_t va)
{
int err;
- debugf("fdt_copy va 0x%08x\n", va);
+ debugf("fdt_copy va 0x%08jx\n", (uintmax_t)va);
if (fdtp == NULL) {
err = fdt_setup_fdtp();
if (err) {