1From 3bd5c2d951421a89f76b2423e5810862f53486c1 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Beno=C3=AEt=20Allard?= <benoit.allard@greenbone.net>
3Date: Fri, 9 Jun 2017 11:59:43 +0200
4Subject: [PATCH] Update the longjump calls to fit the new declaration
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
10---
11 efi/main.c | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-)
13
14diff --git a/efi/main.c b/efi/main.c
15index 208fee4f..71d31a5c 100644
16--- a/efi/main.c
17+++ b/efi/main.c
18@@ -10,7 +10,6 @@
19 #include <syslinux/firmware.h>
20 #include <syslinux/linux.h>
21 #include <sys/ansi.h>
22-#include <setjmp.h>
23
24 #include "efi.h"
25 #include "fio.h"
26@@ -30,7 +29,7 @@ uint32_t timer_irq;
27 __export uint8_t KbdMap[256];
28 char aux_seg[256];
29
30-static jmp_buf load_error_buf;
31+static jmp_buf *load_error_buf;
32
33 static inline EFI_STATUS
34 efi_close_protocol(EFI_HANDLE handle, EFI_GUID *guid, EFI_HANDLE agent,
35--
362.13.3
37
38