stage2 loader: Use bct0 from the loader context

This commit is contained in:
langerhans 2018-05-03 21:56:39 +02:00
parent 1149665402
commit e4b8d41188

View file

@ -54,7 +54,7 @@ void load_list_entry(const char *key) {
printk("Loading %s\n", key);
if (ini_parse_string(g_bct0, loadlist_entry_ini_handler, &load_file_ctx) < 0) {
if (ini_parse_string(get_loader_ctx()->bct0, loadlist_entry_ini_handler, &load_file_ctx) < 0) {
printk("Error: Failed to parse BCT.ini!\n");
generic_panic();
}