forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syslinux: apply patches to fix pointer mismatch (NixOS#368469)
- Loading branch information
Showing
3 changed files
with
42 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/efi/main.c b/efi/main.c | ||
index 6a748412..a914e31a 100644 | ||
--- a/efi/main.c | ||
+++ b/efi/main.c | ||
@@ -187,7 +187,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) | ||
@@ -1385,7 +1385,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 */ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters