diff options
author | Leah Rowe <leah@libreboot.org> | 2025-01-03 00:26:32 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-01-03 00:26:32 +0000 |
commit | a338e585eed0ab8589909925582dc29d885665b9 (patch) | |
tree | d2a42142bef0050b4215c55514c38fe9bac522cf /util | |
parent | b032e483ef16ae77e2856c44c107428720561d40 (diff) |
util/nvmutil: show the correct hexdump order
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index f95df4cf..6c4ebcd6 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -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"); } } |