:: commit 00dbeaa832ee1e4aab52cf6c0edd3cd80c0ae0b0

JlXip <jlxip@protonmail.com> — 2021-02-25 03:06

parents: c8e78708d4

stivale2: fix stivale2_load parameters

diff --git a/stage23/main.c b/stage23/main.c
index 3086488c..d4be236a 100644
--- a/stage23/main.c
+++ b/stage23/main.c
@@ -97,7 +97,7 @@ void entry(uint8_t _boot_drive, int boot_from) {
     if (!strcmp(proto, "stivale")) {
         stivale_load(config, cmdline);
     } else if (!strcmp(proto, "stivale2")) {
-        stivale2_load(config, cmdline, boot_from);
+        stivale2_load(config, cmdline, booted_from_pxe);
     } else if (!strcmp(proto, "linux")) {
         linux_load(config, cmdline);
     } else if (!strcmp(proto, "chainload")) {
tab: 248 wrap: offon