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:
parent
41168ea49c
commit
d078036308
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* normal/autofs.c (autoload_fs_module): Handle errors.
|
* normal/autofs.c (autoload_fs_module): Handle errors.
|
||||||
|
|
|
@ -68,6 +68,9 @@ grub_load_modules (void)
|
||||||
(header->size - sizeof (struct grub_module_header))))
|
(header->size - sizeof (struct grub_module_header))))
|
||||||
grub_fatal ("%s", grub_errmsg);
|
grub_fatal ("%s", grub_errmsg);
|
||||||
|
|
||||||
|
if (grub_errno)
|
||||||
|
grub_print_error ();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue