Use %ju to match uintmax_t usage
This commit is contained in:
parent
01c4156d22
commit
582b1102f5
@ -78,7 +78,7 @@ static void
|
||||
g_flashmap_print(struct g_flashmap_slice *slice)
|
||||
{
|
||||
|
||||
printf("%08jx-%08jx: %s (%lluKB)\n", (intmax_t)slice->sl_start, (intmax_t)slice->sl_end,
|
||||
printf("%08jx-%08jx: %s (%juKB)\n", (intmax_t)slice->sl_start, (intmax_t)slice->sl_end,
|
||||
slice->sl_name, (uintmax_t)(slice->sl_end - slice->sl_start) / 1024);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user