Skip to content

Commit

Permalink
epk1.c: fix my broken format string
Browse files Browse the repository at this point in the history
We really need a test suite to exercise weird code paths like this one.
  • Loading branch information
throwaway96 committed Jan 12, 2024
1 parent e7149d6 commit 5868f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epk1.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void extract_epk1_file(const char *epk_file, config_opts_t *config_opts) {
struct epk1BEVersion_t *fwVer = buffer + epakHeader->offset - 4;

if (fwVer->pad != 0) {
printf("Note: Padding byte is not zero (0x" PRIx8 ")!", fwVer->pad);
printf("Note: Padding byte is not zero (0x%" PRIx8 ")!\n", fwVer->pad);
}

sprintf(verString, EPKV1_VERSION_FORMAT, fwVer->major, fwVer->minor1, fwVer->minor2);
Expand Down

0 comments on commit 5868f5c

Please sign in to comment.