[syslinux:master] Update the longjump calls to fit the new declaration
syslinux-bot for Benoît Allard
benoit.allard at greenbone.net
Wed Feb 20 17:54:54 PST 2019
Commit-ID: 22d32c15ea96c01c8c05b8c1551095716d42f3a4
Gitweb: http://www.syslinux.org/commit/22d32c15ea96c01c8c05b8c1551095716d42f3a4
Author: Benoît Allard <benoit.allard at greenbone.net>
AuthorDate: Fri, 9 Jun 2017 11:59:43 +0200
Committer: Joakim Tjernlund <joakim.tjernlund at infinera.com>
CommitDate: Thu, 9 Nov 2017 19:03:50 +0100
Update the longjump calls to fit the new declaration
---
efi/main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/efi/main.c b/efi/main.c
index fd95f5c8..92546de6 100644
--- a/efi/main.c
+++ b/efi/main.c
@@ -10,7 +10,6 @@
#include <syslinux/firmware.h>
#include <syslinux/linux.h>
#include <sys/ansi.h>
-#include <setjmp.h>
#include "efi.h"
#include "fio.h"
@@ -185,7 +184,7 @@ __export void local_boot(uint16_t ax)
* Inform the firmware that we failed to execute correctly, which
* will trigger the next entry in the EFI Boot Manager list.
*/
- longjmp(load_error_buf, 1);
+ longjmp(&load_error_buf, 1);
}
void bios_timer_cleanup(void)
@@ -1383,7 +1382,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key);
} while (status == EFI_SUCCESS);
- if (!setjmp(load_error_buf))
+ if (!setjmp(&load_error_buf))
load_env32(NULL);
/* load_env32() failed.. cancel timer and bailout */
More information about the Syslinux-commits
mailing list