about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-27 17:03:44 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-27 17:03:44 -0400
commitd8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e (patch)
tree72d6811cdc87fac86b76a71df5cafc302bac5e36
parent5e9e78ecd7ec5178483af8f1130cb6a958982b73 (diff)
downloadmusl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.tar.gz
musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.tar.xz
musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.zip
fix pshared barrier wrong return value.
i set the return value but then never used it... oops!
-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