summaryrefslogtreecommitdiff
path: root/bootmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootmain.c')
-rw-r--r--bootmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootmain.c b/bootmain.c
index 72f3927..d24bf66 100644
--- a/bootmain.c
+++ b/bootmain.c
@@ -43,7 +43,7 @@ bootmain(void)
// Call the entry point from the ELF header.
// Does not return!
- entry = (void(*)(void))(elf->entry - KERNBASE);
+ entry = (void(*)(void))(elf->entry);
entry();
}