mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
scheduler: close init node
This commit is contained in:
@@ -436,6 +436,8 @@ void sched_runinit(){
|
|||||||
printf("ELF load error: %s\n", strerror(ret));
|
printf("ELF load error: %s\n", strerror(ret));
|
||||||
_panic("Could not load init", 0);
|
_panic("Could not load init", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vfs_close(node);
|
||||||
|
|
||||||
arch_regs_setupuser(thread->regs, entry, stack, true);
|
arch_regs_setupuser(thread->regs, entry, stack, true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user