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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/linker/elf.cpp b/src/kernel/linker/elf.cpp
index 8fc2e0c..6c45f10 100644
--- a/src/kernel/linker/elf.cpp
+++ b/src/kernel/linker/elf.cpp
@@ -45,7 +45,7 @@ thread_entry elf_load(uint8_t *data, process* process) {
}
process* elf_exec(uint8_t *data, int privilege, char** args) {
- if (elf_check(data)) return 0;
+ if (elf_check(data) != 0) return 0;
process* p = new process(0, 0, privilege);