]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
efiemu: change code to avoid Coverity false positive
authorAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 9 Jan 2016 07:59:51 +0000 (10:59 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Sat, 9 Jan 2016 08:36:42 +0000 (11:36 +0300)
CID: 73623

grub-core/efiemu/main.c

index f2140ad291dbef06dc2b013fe75f760250820a96..f6813b1ed15f26d05dea9a5aac8233eccc3bf5e5 100644 (file)
@@ -196,7 +196,7 @@ grub_efiemu_load_file (const char *filename)
     {
       grub_file_close (file);
       grub_efiemu_unload ();
-      return grub_errno;
+      return err;
     }
 
   grub_dprintf ("efiemu", "mm initialized\n");