kern: physmem: don't truncate addresses in DEBUG output

Make it consistent with the above region printing, otherwise it appears
to be somewhat confusing.
This commit is contained in:
Kyle Evans 2023-02-20 12:54:00 -06:00
parent c7c3481621
commit cd73914b01

View File

@ -149,10 +149,10 @@ physmem_dump_tables(int (*prfunc)(const char *, ...))
#ifdef DEBUG
prfunc("Avail lists:\n");
for (i = 0; phys_avail[i] != 0; ++i) {
prfunc(" phys_avail[%d] 0x%08x\n", i, phys_avail[i]);
prfunc(" phys_avail[%d] 0x%08jx\n", i, phys_avail[i]);
}
for (i = 0; dump_avail[i] != 0; ++i) {
prfunc(" dump_avail[%d] 0x%08x\n", i, dump_avail[i]);
prfunc(" dump_avail[%d] 0x%08jx\n", i, dump_avail[i]);
}
#endif
}