summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2017-09-30 11:00:39 +0800
committerJia Zhang <qianyue.zj@alibaba-inc.com>2017-09-29 23:00:39 -0400
commit5080ec0fac64f6965a7559486bee748d82383108 (patch)
treea95760c947d9ae373d8d6948242f44cfad88bee2
parent616263c4e6e1a4157846ebdd0f2905bfd808e6be (diff)
downloadmeta-secure-core-5080ec0fac64f6965a7559486bee748d82383108.tar.gz
grub-efi: fix build error with qemux86 (#24)
Fix the error: mok2verify.c:169:53: error: \ format '%lx' expects argument of type 'long unsigned int', \ but argument 3 has type 'grub_efi_status_t {aka int}' \ [-Werror=format=] Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
-rw-r--r--meta-efi-secure-boot/recipes-bsp/grub/grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch
index a10b77f..4478899 100644
--- a/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch
+++ b/meta-efi-secure-boot/recipes-bsp/grub/grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch
@@ -322,7 +322,7 @@ index 0000000..3865661
322+ else 322+ else
323+ { 323+ {
324+ grub_printf ("failed to verify file %s (err: 0x%lx)\n", 324+ grub_printf ("failed to verify file %s (err: 0x%lx)\n",
325+ path, status); 325+ path, (long)status);
326+ 326+
327+ return grub_error (GRUB_ERR_ACCESS_DENIED, "the file %s is not verified", 327+ return grub_error (GRUB_ERR_ACCESS_DENIED, "the file %s is not verified",
328+ path); 328+ path);