dcavalca / rpms / grub2

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