diff options
Diffstat (limited to 'src/kernel/user/elf.c')
-rw-r--r-- | src/kernel/user/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/user/elf.c b/src/kernel/user/elf.c index 905577d..00b3c54 100644 --- a/src/kernel/user/elf.c +++ b/src/kernel/user/elf.c @@ -21,7 +21,7 @@ proc_entry_t elf_load(fs_handle_t *f, process_t* process) { int i; pagedir_t *r = get_current_pagedir(); - switch_pagedir(proc_pagedir(process)); + switch_pagedir(process->pd); // TODO : when we fail, free ressources ? |