aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-17 22:33:31 +0100
committerMarvin Borner2021-03-17 22:33:31 +0100
commit63ed037fdbb04a4855531f5ce980d8517752f640 (patch)
tree512965efa1ace0248932b133dab260d7b52231bb /kernel/features/syscall.c
parent50856df5b7272a6fdcd6a049351b7f1320c6cdaa (diff)
Awesome!
Diffstat (limited to 'kernel/features/syscall.c')
-rw-r--r--kernel/features/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/features/syscall.c b/kernel/features/syscall.c
index b0b37ac..2796372 100644
--- a/kernel/features/syscall.c
+++ b/kernel/features/syscall.c
@@ -72,7 +72,7 @@ static void syscall_handler(struct regs *r)
case SYS_EXEC: {
char *path = (char *)r->ebx;
struct proc *proc = proc_make(PROC_PRIV_NONE);
- r->eax = (u32)bin_load(path, proc);
+ r->eax = (u32)elf_load(path, proc);
if (r->eax != 0)
proc_exit(proc, -r->eax);
// TODO: Reimplement argc,argv