diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-22 13:19:50 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-08-22 13:19:50 +0300 |
| commit | 66b39eb7ce9605cbb70defdca7f0eb144855ddcd (patch) | |
| tree | 702bd65c46591052f40987c848b664a84057f7e7 /src/orphanage.c | |
| parent | 4168cca8124acdbd1866eb87810efe1cfe16903c (diff) | |
| download | kmi-66b39eb7ce9605cbb70defdca7f0eb144855ddcd.tar.gz kmi-66b39eb7ce9605cbb70defdca7f0eb144855ddcd.zip | |
change sys_ret handling to always include id
Diffstat (limited to 'src/orphanage.c')
| -rw-r--r-- | src/orphanage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/orphanage.c b/src/orphanage.c index 3ca016e..526affc 100644 --- a/src/orphanage.c +++ b/src/orphanage.c @@ -44,7 +44,7 @@ void unorphanize(struct tcb *t) alloc_stack(t); assert(init->callback); - set_args4(t, 0, t->tid, SYS_USER_ORPHANED, old_rid); + set_ret4(t, 0, t->tid, SYS_USER_ORPHANED, old_rid); set_return(t, init->callback); t->callback = init->callback; |
