The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=772c658c66e365f02433a4f57d6a14a8120861eb

commit 772c658c66e365f02433a4f57d6a14a8120861eb
Author:     Warner Losh <[email protected]>
AuthorDate: 2026-09-11 20:42:03 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2026-09-12 16:59:17 +0000

    loader: Use %u to print unsigned value
    
    Fixes: 7055aa7a070f
    Sponsored by:           Netflix
---
 stand/common/md.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/common/md.c b/stand/common/md.c
index 04bafa8e4dec..c8692a8948fb 100644
--- a/stand/common/md.c
+++ b/stand/common/md.c
@@ -78,7 +78,7 @@ md_export_to_kernel(uint64_t start, uint64_t len)
        snprintf(value, sizeof(value), "0x%016jx", (uintmax_t)start);
        setenv(key, value, 1);
        snprintf(key, sizeof(key), "hint.md.%d.len", unit);
-       snprintf(value, sizeof(value), "%jd", (uintmax_t)len);
+       snprintf(value, sizeof(value), "%ju", (uintmax_t)len);
        setenv(key, value, 1);
        unit++;
 }

Reply via email to