Skip to content

Commit 382568e

Browse files
xypronvathpela
authored andcommitted
pe: missing perror argument
perror(L"%d sections contain entry point\n") lacks an argument corresponding to %d. Signed-off-by: Heinrich Schuchardt <[email protected]>
1 parent fee352a commit 382568e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pe.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ handle_image (void *data, unsigned int datasize,
11491149
return EFI_UNSUPPORTED;
11501150
}
11511151
if (found_entry_point > 1) {
1152-
perror(L"%d sections contain entry point\n");
1152+
perror(L"%d sections contain entry point\n", found_entry_point);
11531153
return EFI_UNSUPPORTED;
11541154
}
11551155

0 commit comments

Comments
 (0)