2010-03-04 Vladimir Serbinenko <phcoder@gmail.com>
* normal/autofs.c (autoload_fs_module): Handle errors.
This commit is contained in:
parent
b54d93ac1b
commit
41168ea49c
2 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,9 @@ autoload_fs_module (void)
|
|||
if (! grub_dl_get (p->name) && grub_dl_load (p->name))
|
||||
return 1;
|
||||
|
||||
if (grub_errno)
|
||||
grub_print_error ();
|
||||
|
||||
fs_module_list = p->next;
|
||||
grub_free (p->name);
|
||||
grub_free (p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue