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