Blame SOURCES/0140-always-return-error-to-UEFI.patch
|
|
a85e8e |
From a2a99457e562f6ddc719744803d49f4561cd65cf Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
|
|
|
a85e8e |
Date: Wed, 26 Feb 2014 21:49:12 -0500
|
|
|
a85e8e |
Subject: [PATCH 140/260] always return error to UEFI
|
|
|
a85e8e |
|
|
|
a85e8e |
---
|
|
|
a85e8e |
grub-core/kern/efi/efi.c | 2 +-
|
|
|
a85e8e |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
a85e8e |
|
|
|
a85e8e |
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
|
|
|
a85e8e |
index cd839cc98..1a8dba531 100644
|
|
|
a85e8e |
--- a/grub-core/kern/efi/efi.c
|
|
|
a85e8e |
+++ b/grub-core/kern/efi/efi.c
|
|
|
a85e8e |
@@ -158,7 +158,7 @@ grub_exit (void)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
grub_efi_fini ();
|
|
|
a85e8e |
efi_call_4 (grub_efi_system_table->boot_services->exit,
|
|
|
a85e8e |
- grub_efi_image_handle, GRUB_EFI_SUCCESS, 0, 0);
|
|
|
a85e8e |
+ grub_efi_image_handle, GRUB_EFI_LOAD_ERROR, 0, 0);
|
|
|
a85e8e |
for (;;) ;
|
|
|
a85e8e |
}
|
|
|
a85e8e |
|
|
|
a85e8e |
--
|
|
|
a85e8e |
2.13.0
|
|
|
a85e8e |
|