mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: show the correct hexdump order
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user