Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2025 13:53:56 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 13e520658ec0 - main - fdt_loader_cmd.c: fix compilation with DEBUG
Message-ID:  <202505151353.54FDru7I000544@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505151353.54FDru7I000544>