2020-07-29 20:47:36 +08:00
|
|
|
From 7fba6daaf2d9cc2c96176020212dadad593c340f Mon Sep 17 00:00:00 2001
|
2019-09-30 10:52:04 -04:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
|
Date: Mon, 26 Jun 2017 12:44:59 -0400
|
2020-07-29 20:47:36 +08:00
|
|
|
Subject: [PATCH 087/220] don't use int for efi status
|
2019-09-30 10:52:04 -04:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
grub-core/kern/efi/efi.c | 2 +-
|
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/grub-core/kern/efi/efi.c b/grub-core/kern/efi/efi.c
|
2020-07-29 20:47:36 +08:00
|
|
|
index a1af9b4..2cf6a5a 100644
|
2019-09-30 10:52:04 -04:00
|
|
|
--- a/grub-core/kern/efi/efi.c
|
|
|
|
|
+++ b/grub-core/kern/efi/efi.c
|
|
|
|
|
@@ -166,7 +166,7 @@ grub_reboot (void)
|
|
|
|
|
void
|
|
|
|
|
grub_exit (int retval)
|
|
|
|
|
{
|
|
|
|
|
- int rc = GRUB_EFI_LOAD_ERROR;
|
|
|
|
|
+ grub_efi_status_t rc = GRUB_EFI_LOAD_ERROR;
|
|
|
|
|
|
|
|
|
|
if (retval == 0)
|
|
|
|
|
rc = GRUB_EFI_SUCCESS;
|
2020-07-29 20:47:36 +08:00
|
|
|
--
|
|
|
|
|
1.8.3.1
|
|
|
|
|
|