diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 11:07:31 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-14 11:07:31 +0100 |
commit | 630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f (patch) | |
tree | f8c1bfe9da8dc23a69d8982bfb2b4e19d517f820 /src/kernel/user/elf.c | |
parent | 706c69d40fcc46e7d7f170dab932d3c7fcc7c34e (diff) | |
download | kogata-630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f.tar.gz kogata-630c28c3fd3297c7a0ea7ec7ad4417f521fdaa7f.zip |
Change a bit of structure
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 ? |