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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uapi/proc.c b/src/uapi/proc.c
index 74f211c..c0fe5f0 100644
--- a/src/uapi/proc.c
+++ b/src/uapi/proc.c
@@ -43,7 +43,7 @@ SYSCALL_DEFINE5(create)(struct tcb *t, sys_arg_t func,
* function? */
alloc_stack(c);
- set_args5(c, c->tid, d0, d1, d2, d3);
+ set_ret5(c, c->tid, d0, d1, d2, d3);
set_return(c, func);
c->notify_id = t->notify_id;
@@ -227,7 +227,7 @@ static void swap(struct tcb *t, struct tcb *s)
notify(s, 0);
/* no notifications, so get register state for new thread */
- return_args(s, get_args(s));
+ set_ret(s, 6, get_ret(s));
}
/**