aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/module/elf_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/sys/module/elf_module.c')
-rw-r--r--com32/lib/sys/module/elf_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/module/elf_module.c b/com32/lib/sys/module/elf_module.c
index 58f94d04..2952e617 100644
--- a/com32/lib/sys/module/elf_module.c
+++ b/com32/lib/sys/module/elf_module.c
@@ -449,7 +449,7 @@ int module_load(struct elf_module *module) {
CHECKED(res, extract_operations(module), error);
// Add the module at the beginning of the module list
- list_add(&module->list, &modules);
+ list_add(&module->list, &modules_head);
// Perform the relocations
resolve_symbols(module);