diff --git a/tasks/mm0/src/clone.c b/tasks/mm0/src/clone.c index 6e0dfa8..37d5c4a 100755 --- a/tasks/mm0/src/clone.c +++ b/tasks/mm0/src/clone.c @@ -156,7 +156,7 @@ int do_fork(struct tcb *parent) l4_thread_control(THREAD_RUN, ids); /* Return back to parent */ - l4_ipc_return(0); + l4_ipc_return(child->tid); return 0; }