aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-27 23:13:36 +0200
committerMarvin Borner2020-04-27 23:13:36 +0200
commit46007d2598b7aef13895b21669cfb6f24272e5fe (patch)
tree59f68b3a9449d3777b84292efe55e2dc3f32cdaa /src/kernel/kernel.c
parentf30c9803f05e90087e367953aa142275f8688f61 (diff)
Minor but important fixes in processing
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 83e0b35..662bb57 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -65,6 +65,9 @@ void kernel_main(uint32_t magic, uint32_t multiboot_address)
syscalls_install();
struct process *proc = elf_load("/bin/user");
+ proc->stdin = NULL;
+ proc->stdout = NULL;
+ proc->stderr = NULL;
process_init(proc);
halt_loop();