Skip to content

Commit

Permalink
pe: missing perror argument
Browse files Browse the repository at this point in the history
perror(L"%d sections contain entry point\n") lacks an argument
corresponding to %d.

Signed-off-by: Heinrich Schuchardt <[email protected]>
  • Loading branch information
xypron authored and vathpela committed Feb 3, 2022
1 parent fee352a commit 382568e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ handle_image (void *data, unsigned int datasize,
return EFI_UNSUPPORTED;
}
if (found_entry_point > 1) {
perror(L"%d sections contain entry point\n");
perror(L"%d sections contain entry point\n", found_entry_point);
return EFI_UNSUPPORTED;
}

Expand Down

0 comments on commit 382568e

Please sign in to comment.