summaryrefslogtreecommitdiff
path: root/src/kernel/linker/elf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/linker/elf.cpp')
-rw-r--r--src/kernel/linker/elf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/linker/elf.cpp b/src/kernel/linker/elf.cpp
index ab8e349..c94e5c0 100644
--- a/src/kernel/linker/elf.cpp
+++ b/src/kernel/linker/elf.cpp
@@ -47,11 +47,11 @@ thread_entry elf_load(uint8_t *data, process* process) {
process* elf_exec(uint8_t *data, int privilege) {
if (elf_check(data)) return 0;
- process* p = process_new(0, 0, privilege);
+ process* p = new process(0, 0, privilege);
thread_entry e = elf_load(data, p);
- thread_new(p, e, 0, 0);
+ new thread(p, e, 0, 0);
return p;
}