8c6b1ac71e
Also include some minor fixes for gcc 5.1.1 Signed-off-by: Peter Jones <pjones@redhat.com>
26 lines
765 B
Diff
26 lines
765 B
Diff
From 3d6c115a0511353f9f0a4fc99549d13012b37e6f Mon Sep 17 00:00:00 2001
|
|
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
|
|
Date: Wed, 26 Feb 2014 21:49:12 -0500
|
|
Subject: [PATCH 483/506] always return error to UEFI
|
|
|
|
---
|
|
grub-core/kern/efi/efi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
|
|
index d12701e..c80d85b 100644
|
|
--- a/grub-core/kern/efi/efi.c
|
|
+++ b/grub-core/kern/efi/efi.c
|
|
@@ -159,7 +159,7 @@ grub_exit (void)
|
|
{
|
|
grub_machine_fini (GRUB_LOADER_FLAG_NORETURN);
|
|
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
|
- grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
|
+ grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0);
|
|
for (;;) ;
|
|
}
|
|
|
|
--
|
|
2.4.3
|
|
|