Fix to parent return value

This commit is contained in:
Bahadir Balban
2008-08-22 01:50:54 +03:00
parent 1a90b655c7
commit cdfaa4bbe9

View File

@@ -156,7 +156,7 @@ int do_fork(struct tcb *parent)
l4_thread_control(THREAD_RUN, ids); l4_thread_control(THREAD_RUN, ids);
/* Return back to parent */ /* Return back to parent */
l4_ipc_return(0); l4_ipc_return(child->tid);
return 0; return 0;
} }