summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/thread/pthread_barrier_wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_barrier_wait.c b/src/thread/pthread_barrier_wait.c
index db432ba3..83c32ca3 100644
--- a/src/thread/pthread_barrier_wait.c
+++ b/src/thread/pthread_barrier_wait.c
@@ -54,7 +54,7 @@ static int pshared_barrier_wait(pthread_barrier_t *b)
__vm_unlock();
- return 0;
+ return ret;
}
struct instance