Browse Source

fix pshared barrier wrong return value.

i set the return value but then never used it... oops!
Rich Felker 13 years ago
parent
commit
d8dc1df1c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/thread/pthread_barrier_wait.c

+ 1 - 1
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