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")) {
