scheduler: close init node

This commit is contained in:
Matheus
2022-09-19 22:51:55 -03:00
parent cd78bcff92
commit 511a5639cc
+2
View File
@@ -436,6 +436,8 @@ void sched_runinit(){
printf("ELF load error: %s\n", strerror(ret));
_panic("Could not load init", 0);
}
vfs_close(node);
arch_regs_setupuser(thread->regs, entry, stack, true);