summaryrefslogtreecommitdiff
path: root/src/kernel/linker/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/linker/elf.h')
-rw-r--r--src/kernel/linker/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/linker/elf.h b/src/kernel/linker/elf.h
index bb61795..184f410 100644
--- a/src/kernel/linker/elf.h
+++ b/src/kernel/linker/elf.h
@@ -56,7 +56,7 @@ struct phdr {
uint8_t* data;
};
-int elf_check(uint8_t *data); //0 if ok, 1 if not a valid ELF
+int elf_check(uint8_t *data); //0 if ok, -1 if not a valid ELF
thread_entry elf_load(uint8_t *data, process* process); //Load an ELF to a process, return entry point
process* elf_exec(uint8_t *data, int privilege); //Creates a new process and a thread for running ELF file