util/nvmutil: show the correct hexdump order

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2025-01-03 00:26:32 +00:00
parent 76d87782a8
commit 07e8b9f35e
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}