diff --git a/ChangeLog b/ChangeLog index 5b568037c..d4468e1c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-04-17 Pavel Roskin + * loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix + return without a value. Fix inconsistent indentation. + * fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to match struct grub_fs. diff --git a/loader/multiboot_loader.c b/loader/multiboot_loader.c index f4a39330f..11ba666b1 100644 --- a/loader/multiboot_loader.c +++ b/loader/multiboot_loader.c @@ -131,36 +131,36 @@ grub_cmd_multiboot_loader (grub_command_t cmd __attribute__ ((unused)), goto fail; } - /* close file before calling functions */ - if (file) - grub_file_close (file); + /* close file before calling functions */ + if (file) + grub_file_close (file); - /* Launch multi boot with header */ + /* Launch multi boot with header */ - /* XXX Find a better way to identify this. - This is for i386-pc */ + /* XXX Find a better way to identify this. + This is for i386-pc */ #if defined(GRUB_MACHINE_PCBIOS) || defined(GRUB_MACHINE_LINUXBIOS) if (header_multi_ver_found == 1) { grub_dprintf ("multiboot_loader", - "Launching multiboot 1 grub_multiboot() function\n"); - grub_multiboot (argc, argv); + "Launching multiboot 1 grub_multiboot() function\n"); + grub_multiboot (argc, argv); module_version_status = 1; } #endif if (header_multi_ver_found == 0 || header_multi_ver_found == 2) { grub_dprintf ("multiboot_loader", - "Launching multiboot 2 grub_multiboot2() function\n"); + "Launching multiboot 2 grub_multiboot2() function\n"); grub_multiboot2 (argc, argv); module_version_status = 2; } - return; + return grub_errno; fail: if (file) - grub_file_close (file); + grub_file_close (file); grub_dl_unref (my_mod);