fix pshared barrier wrong return value.
authorRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 21:03:44 +0000 (17:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 21:03:44 +0000 (17:03 -0400)
i set the return value but then never used it... oops!

src/thread/pthread_barrier_wait.c

index db432ba30a21bf1b30c8bbd52daaad387b6271d5..83c32ca35f0e7092be9fd26f8094c557ecac58b3 100644 (file)
@@ -54,7 +54,7 @@ static int pshared_barrier_wait(pthread_barrier_t *b)
        
        __vm_unlock();
 
-       return 0;
+       return ret;
 }
 
 struct instance