* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
and not 0 on failure.
This commit is contained in:
parent
bd405bbc55
commit
664889a69c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno
|
||||
and not 0 on failure.
|
||||
|
||||
2011-05-03 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return
|
||||
|
|
|
@ -193,7 +193,7 @@ grub_efiemu_load_file (const char *filename)
|
|||
|
||||
file = grub_file_open (filename);
|
||||
if (! file)
|
||||
return 0;
|
||||
return grub_errno;
|
||||
|
||||
err = grub_efiemu_mm_init ();
|
||||
if (err)
|
||||
|
|
Loading…
Reference in a new issue