mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-09 02:33:02 +00:00
Fix mismerge resulting in ghost multiboot module. Reported by: Grégoire Sutre.
This commit is contained in:
parent
935842dd56
commit
1ef7e2992d
@ -303,11 +303,6 @@ grub_module (int argc, char *argv[])
|
|||||||
if (err)
|
if (err)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
err = grub_multiboot_add_module ((grub_addr_t) module, size,
|
|
||||||
argc - 1, argv + 1);
|
|
||||||
if (err)
|
|
||||||
goto fail;
|
|
||||||
|
|
||||||
if (grub_file_read (file, module, size) != size)
|
if (grub_file_read (file, module, size) != size)
|
||||||
{
|
{
|
||||||
grub_error (GRUB_ERR_FILE_READ_ERROR, "couldn't read file");
|
grub_error (GRUB_ERR_FILE_READ_ERROR, "couldn't read file");
|
||||||
|
Loading…
Reference in New Issue
Block a user