aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/module/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/sys/module/exec.c')
-rw-r--r--com32/lib/sys/module/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/sys/module/exec.c b/com32/lib/sys/module/exec.c
index 3cd53187..9da1d572 100644
--- a/com32/lib/sys/module/exec.c
+++ b/com32/lib/sys/module/exec.c
@@ -30,7 +30,7 @@ static char *module_get_fullname(const char *name) {
return name_buff;
}
-int exec_init() {
+int exec_init(size_t root_addr) {
int res;
res = modules_init();
@@ -44,7 +44,7 @@ int exec_init() {
if (mod_root == NULL)
return -1;
- res = module_load_shallow(mod_root);
+ res = module_load_shallow(mod_root, root_addr);
if (res != 0) {
mod_root = NULL;