diff --git a/util/grub-mkimagexx.c b/util/grub-mkimagexx.c index 11d05d7a8..a483c674c 100644 --- a/util/grub-mkimagexx.c +++ b/util/grub-mkimagexx.c @@ -1965,7 +1965,7 @@ SUFFIX (grub_mkimage_load_image) (const char *kernel_path, const struct grub_install_image_target_desc *image_target) { char *kernel_img, *out_img; - struct section_metadata smd = { 0, }; + struct section_metadata smd = { 0, 0, 0, 0, 0, 0, 0 }; Elf_Ehdr *e; int i; Elf_Shdr *s;