summaryrefslogtreecommitdiff
path: root/src/kernel/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r--src/kernel/proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c
index 8e94d24..cf5bb1e 100644
--- a/src/kernel/proc.c
+++ b/src/kernel/proc.c
@@ -54,6 +54,8 @@ struct process *process_fork(struct process *parent) {
child->parent = parent;
parent->child = child;
+ parent->handled_req = NULL; // TODO control this with a flag
+
child->id = next_pid++;
return child;