From 5080ec0fac64f6965a7559486bee748d82383108 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Sat, 30 Sep 2017 11:00:39 +0800 Subject: 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 --- .../grub-efi/mok2verify-support-to-verify-non-PE-file-with-PKCS-7.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + else + { + grub_printf ("failed to verify file %s (err: 0x%lx)\n", -+ path, status); ++ path, (long)status); + + return grub_error (GRUB_ERR_ACCESS_DENIED, "the file %s is not verified", + path); -- cgit v1.2.3-54-g00ecf