2018-07-12 14:56:34 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-01-17 22:04:09 +00:00
|
|
|
From: Peter Jones <pjones@redhat.com>
|
|
|
|
Date: Mon, 26 Jun 2017 12:44:59 -0400
|
2018-07-10 18:39:10 +00:00
|
|
|
Subject: [PATCH] don't use int for efi status
|
2018-01-17 22:04:09 +00: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
|
2024-07-10 18:20:32 +00:00
|
|
|
index 885d7c6420e..2bb8a0e7a38 100644
|
2018-01-17 22:04:09 +00:00
|
|
|
--- a/grub-core/kern/efi/efi.c
|
|
|
|
+++ b/grub-core/kern/efi/efi.c
|
2024-07-10 18:20:32 +00:00
|
|
|
@@ -177,7 +177,7 @@ grub_reboot (void)
|
2018-01-17 22:04:09 +00:00
|
|
|
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;
|