c78952
From 6d86c59c24e12c8e8471cdd2affca574fdee160d Mon Sep 17 00:00:00 2001
6f1e3d
From: Peter Jones <pjones@redhat.com>
6f1e3d
Date: Mon, 26 Jun 2017 12:44:59 -0400
31cddd
Subject: [PATCH] don't use int for efi status
6f1e3d
6f1e3d
---
6f1e3d
 grub-core/kern/efi/efi.c | 2 +-
6f1e3d
 1 file changed, 1 insertion(+), 1 deletion(-)
6f1e3d
6f1e3d
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
78e1a1
index 866fc20e162..91f75fdb89a 100644
6f1e3d
--- a/grub-core/kern/efi/efi.c
6f1e3d
+++ b/grub-core/kern/efi/efi.c
6f1e3d
@@ -157,7 +157,7 @@ grub_efi_get_loaded_image (grub_efi_handle_t image_handle)
6f1e3d
 void
6f1e3d
 grub_exit (int retval)
6f1e3d
 {
6f1e3d
-  int rc = GRUB_EFI_LOAD_ERROR;
6f1e3d
+  grub_efi_status_t rc = GRUB_EFI_LOAD_ERROR;
6f1e3d
 
6f1e3d
   if (retval == 0)
6f1e3d
     rc = GRUB_EFI_SUCCESS;