diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-27 17:03:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-27 17:03:44 -0400 |
commit | d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e (patch) | |
tree | 72d6811cdc87fac86b76a71df5cafc302bac5e36 /src | |
parent | 5e9e78ecd7ec5178483af8f1130cb6a958982b73 (diff) | |
download | musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.tar.gz musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.tar.bz2 musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.tar.xz musl-d8dc1df1c2aa461d094d3cfe97e2cc68dd331e6e.zip |
fix pshared barrier wrong return value.
i set the return value but then never used it... oops!
Diffstat (limited to 'src')
-rw-r--r-- | src/thread/pthread_barrier_wait.c | 2 |
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 |