aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/fs/elf.c')
-rw-r--r--src/kernel/fs/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/elf.c b/src/kernel/fs/elf.c
index fe180c4..e11b91f 100644
--- a/src/kernel/fs/elf.c
+++ b/src/kernel/fs/elf.c
@@ -26,7 +26,7 @@ int is_elf(struct elf_header *header)
struct process *elf_load(char *path)
{
log("ELF START");
- u32 *prev_dir;
+ u32 **prev_dir;
if (current_proc)
prev_dir = current_proc->cr3;
else