util/nvmutil: minor cleanup in cmd_dump

Signed-off-by: Leah Rowe <leah@libreboot.org>
master
Leah Rowe 2025-01-27 05:29:14 +00:00
parent bd7215d1eb
commit db5879c6b5
1 changed files with 4 additions and 1 deletions

View File

@ -337,8 +337,11 @@ cmd_dump(void)
if (!goodChecksum(partnum))
++numInvalid;
printf("MAC (part %d): ", partnum);
macf(partnum), hexdump(partnum);
macf(partnum);
hexdump(partnum);
if ((numInvalid < 2) && (partnum))
errno = 0;
}