mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
kern: physmem: fix the format string again, i is a size_t
Fixes the riscv LINT build.
Fixes: 7b5cb32fca
("kern: physmem: properly cast %jx [...]")
This commit is contained in:
parent
ef4e8f0cf9
commit
c32946d8be
@ -149,11 +149,11 @@ physmem_dump_tables(int (*prfunc)(const char *, ...) __printflike(1, 2))
|
||||
#ifdef DEBUG
|
||||
prfunc("Avail lists:\n");
|
||||
for (i = 0; phys_avail[i] != 0; ++i) {
|
||||
prfunc(" phys_avail[%d] 0x%08jx\n", i,
|
||||
prfunc(" phys_avail[%zu] 0x%08jx\n", i,
|
||||
(uintmax_t)phys_avail[i]);
|
||||
}
|
||||
for (i = 0; dump_avail[i] != 0; ++i) {
|
||||
prfunc(" dump_avail[%d] 0x%08jx\n", i,
|
||||
prfunc(" dump_avail[%zu] 0x%08jx\n", i,
|
||||
(uintmax_t)dump_avail[i]);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user