2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>

* kern/main.c (grub_load_modules): Handle errors from init functions of
	embeded modules.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-04 21:32:11 +01:00
parent 41168ea49c
commit d078036308
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
* kern/main.c (grub_load_modules): Handle errors from init functions of
embeded modules.
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
* normal/autofs.c (autoload_fs_module): Handle errors.

View File

@ -68,6 +68,9 @@ grub_load_modules (void)
(header->size - sizeof (struct grub_module_header))))
grub_fatal ("%s", grub_errmsg);
if (grub_errno)
grub_print_error ();
return 0;
}