summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_cond.c
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-11-16 22:50:33 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-11-16 22:50:33 +0000
commitf17033e38db1b99c6180c8cab664e36d6b3446c0 (patch)
treef6127462b7ae18181512004f61b6d73d24ee5e6b /lib/libpthread/thread/thr_cond.c
parentd9374c913e662a958d0e8226d1105bacf976ed1c (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cond.c')
-rw-r--r--lib/libpthread/thread/thr_cond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_cond.c b/lib/libpthread/thread/thr_cond.c
index 5ff0967b9485..9b93c1a5ba32 100644
--- a/lib/libpthread/thread/thr_cond.c
+++ b/lib/libpthread/thread/thr_cond.c
@@ -512,7 +512,7 @@ pthread_cond_signal(pthread_cond_t * cond)
* If the condition variable is statically initialized, perform dynamic
* initialization.
*/
- else if (*cond != NULL || (rval = pthread_cond_init(cond, NULL) == 0)) {
+ else if (*cond != NULL || (rval = pthread_cond_init(cond, NULL)) == 0) {
/*
* Defer signals to protect the scheduling queues
* from access by the signal handler:
@@ -580,7 +580,7 @@ pthread_cond_broadcast(pthread_cond_t * cond)
* If the condition variable is statically initialized, perform dynamic
* initialization.
*/
- else if (*cond != NULL || (rval = pthread_cond_init(cond, NULL) == 0)) {
+ else if (*cond != NULL || (rval = pthread_cond_init(cond, NULL)) == 0) {
/*
* Defer signals to protect the scheduling queues
* from access by the signal handler: