summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-18 08:28:50 +0100
committerPeter Jones <pjones@redhat.com>2022-02-03 13:52:45 -0500
commit382568eda8708ea8e4b062d230d136a4c6d65f8b (patch)
treed5a294c0e8c7f57c8dac31fd94bbe040da84fa05
parentfee352a076999790da1a63460eda842525d324e4 (diff)
downloadefi-boot-shim-382568eda8708ea8e4b062d230d136a4c6d65f8b.tar.gz
efi-boot-shim-382568eda8708ea8e4b062d230d136a4c6d65f8b.zip
pe: missing perror argument
perror(L"%d sections contain entry point\n") lacks an argument corresponding to %d. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
-rw-r--r--pe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pe.c b/pe.c
index d72d814d..92c2804b 100644
--- a/pe.c
+++ b/pe.c
@@ -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;
}