nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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