util/nvmutil: show the correct hexdump order
Signed-off-by: Leah Rowe <leah@libreboot.org>20250107_branch
parent
76d87782a8
commit
07e8b9f35e
|
@ -222,7 +222,7 @@ hexdump(int partnum)
|
||||||
printf("%07x", row << 4);
|
printf("%07x", row << 4);
|
||||||
for (int c = 0; c < 8; c++) {
|
for (int c = 0; c < 8; c++) {
|
||||||
uint16_t val16 = word((row << 3) + c, partnum);
|
uint16_t val16 = word((row << 3) + c, partnum);
|
||||||
printf(" %02x%02x", val16 >> 8, val16 & 0xff);
|
printf(" %02x%02x", val16 & 0xff, val16 >> 8);
|
||||||
} printf("\n");
|
} printf("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue