diff options
author | Marvin Borner | 2021-03-17 22:33:31 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-17 22:33:31 +0100 |
commit | 63ed037fdbb04a4855531f5ce980d8517752f640 (patch) | |
tree | 512965efa1ace0248932b133dab260d7b52231bb /kernel/features/proc.c | |
parent | 50856df5b7272a6fdcd6a049351b7f1320c6cdaa (diff) |
Awesome!
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index cd0fc8d..5c38fff 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -497,13 +497,13 @@ void proc_init(void) // Idle proc struct proc *kernel_proc = proc_make(PROC_PRIV_NONE); - assert(bin_load("/bin/idle", kernel_proc) == 0); + assert(elf_load("/bin/idle", kernel_proc) == 0); kernel_proc->state = PROC_SLEEPING; idle_proc = list_add(proc_list, kernel_proc); // Init proc (root) struct node *new = list_add(proc_list, proc_make(PROC_PRIV_ROOT)); - assert(bin_load("/bin/init", new->data) == 0); + assert(elf_load("/bin/init", new->data) == 0); current = new; proc_stack_push(new->data, 0); |