* grub-core/efiemu/main.c (grub_efiemu_load_file): Return grub_errno

and not 0 on failure.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-05 01:26:16 +02:00
parent bd405bbc55
commit 664889a69c
2 changed files with 6 additions and 1 deletions

View file

@ -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> 2011-05-03 Colin Watson <cjwatson@ubuntu.com>
* grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return * grub-core/fs/i386/pc/pxe.c (grub_pxefs_dir): Return

View file

@ -193,7 +193,7 @@ grub_efiemu_load_file (const char *filename)
file = grub_file_open (filename); file = grub_file_open (filename);
if (! file) if (! file)
return 0; return grub_errno;
err = grub_efiemu_mm_init (); err = grub_efiemu_mm_init ();
if (err) if (err)