nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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