mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
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>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user