util/nvmutil: show the correct hexdump order

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-01-03 00:26:32 +00:00
parent b032e483ef
commit a338e585ee
+1 -1
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");
}
}