mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-28 15:46:53 +00:00
77d0810cf0
Fix tftp filename mangling to not reuse the wrong variable Resolves: rhbz#1405208 Make grub2 initialize the kernel's boot_params structure correctly so the upstream SB code doesn't throw a fit. Resolves: rhbz#1418360 Resolves: rhbz#1451071 Signed-off-by: Peter Jones <pjones@redhat.com>
25 lines
702 B
Diff
25 lines
702 B
Diff
From c694f0875585ed90c1429c7ea28be55613c5e817 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Mon, 26 Jun 2017 12:44:59 -0400
|
|
Subject: [PATCH 098/105] don't use int for efi status
|
|
|
|
---
|
|
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 101307fc7..e22c97675 100644
|
|
--- a/grub-core/kern/efi/efi.c
|
|
+++ b/grub-core/kern/efi/efi.c
|
|
@@ -157,7 +157,7 @@ grub_efi_get_loaded_image (grub_efi_handle_t image_handle)
|
|
void
|
|
grub_exit (int retval)
|
|
{
|
|
- int rc = GRUB_EFI_LOAD_ERROR;
|
|
+ grub_efi_status_t rc = GRUB_EFI_LOAD_ERROR;
|
|
|
|
if (retval == 0)
|
|
rc = GRUB_EFI_SUCCESS;
|
|
--
|
|
2.13.0
|
|
|