util/nvmutil: use portable printf on hexdump

lx means unsigned long, and row is size_t which often
is, but this is not guaranteed.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-06 17:30:53 +00:00
parent c0a77a7301
commit 123e77d07f
+1 -1
View File
@@ -570,7 +570,7 @@ hexdump(int partnum)
uint16_t val16;
for (row = 0; row < 8; row++) {
printf("%08lx ", row << 4);
printf("%08zx ", row << 4);
for (c = 0; c < 8; c++) {
val16 = word((row << 3) + c, partnum);
if (c == 4)