nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0102-don-t-use-int-for-efi-status.patch

8631a2
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8631a2
From: Peter Jones <pjones@redhat.com>
8631a2
Date: Mon, 26 Jun 2017 12:44:59 -0400
8631a2
Subject: [PATCH] don't use int for efi status
8631a2
8631a2
---
8631a2
 grub-core/kern/efi/efi.c | 2 +-
8631a2
 1 file changed, 1 insertion(+), 1 deletion(-)
8631a2
8631a2
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
09e3cc
index 562d6887e..bcae7f469 100644
8631a2
--- a/grub-core/kern/efi/efi.c
8631a2
+++ b/grub-core/kern/efi/efi.c
8631a2
@@ -166,7 +166,7 @@ grub_reboot (void)
8631a2
 void
8631a2
 grub_exit (int retval)
8631a2
 {
8631a2
-  int rc = GRUB_EFI_LOAD_ERROR;
8631a2
+  grub_efi_status_t rc = GRUB_EFI_LOAD_ERROR;
8631a2
 
8631a2
   if (retval == 0)
8631a2
     rc = GRUB_EFI_SUCCESS;