aboutsummaryrefslogtreecommitdiff
path: root/src/uapi/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uapi/proc.c')
-rw-r--r--src/uapi/proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uapi/proc.c b/src/uapi/proc.c
index b90433f..a99acb5 100644
--- a/src/uapi/proc.c
+++ b/src/uapi/proc.c
@@ -42,6 +42,7 @@ SYSCALL_DEFINE5(create)(struct tcb *t, sys_arg_t func,
* core_bringup() is doing, might separate this out into its own
* function? */
alloc_stack(c);
+ set_thread(c);
set_ret5(c, c->tid, d0, d1, d2, d3);
set_return(c, func);