aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/ose
diff options
context:
space:
mode:
Diffstat (limited to 'erts/lib_src/ose')
-rw-r--r--erts/lib_src/ose/ethread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/lib_src/ose/ethread.c b/erts/lib_src/ose/ethread.c
index f3cb4ed0ec..bde85f9f87 100644
--- a/erts/lib_src/ose/ethread.c
+++ b/erts/lib_src/ose/ethread.c
@@ -180,7 +180,7 @@ static OS_PROCESS(thr_wrapper)
res = result == 0 ? (*thr_func)(arg) : NULL;
- thr_exit_cleanup(&my_tid, res);
+ ethr_thr_exit(&res);
}
/* internal exports */