arm64/xen: Fix too few arguments to function grub_create_loader_cmdline()
Without this fix, building xen_boot.c omits: loader/arm64/xen_boot.c: In function ‘xen_boot_binary_load’: loader/arm64/xen_boot.c:370:7: error: too few arguments to function ‘grub_create_loader_cmdline’ grub_create_loader_cmdline (argc - 1, argv + 1, binary->cmdline, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from loader/arm64/xen_boot.c:36:0: ../include/grub/lib/cmdline.h:29:12: note: declared here grub_err_t grub_create_loader_cmdline (int argc, char *argv[], char *buf, Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Julien Grall <julien.grall@arm.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
58bfe43581
commit
25e35377a8
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,8 @@ xen_boot_binary_load (struct xen_boot_binary *binary, grub_file_t file,
|
|||
return;
|
||||
}
|
||||
grub_create_loader_cmdline (argc - 1, argv + 1, binary->cmdline,
|
||||
binary->cmdline_size);
|
||||
binary->cmdline_size,
|
||||
GRUB_VERIFY_KERNEL_CMDLINE);
|
||||
grub_dprintf ("xen_loader",
|
||||
"Xen_boot cmdline @ %p %s, size: %d\n",
|
||||
binary->cmdline, binary->cmdline, binary->cmdline_size);
|
||||
|
|
Loading…
Reference in a new issue