summaryrefslogtreecommitdiff
path: root/sysdeps/htl
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/pt-barrier-init.c2
-rw-r--r--sysdeps/htl/pt-cond-init.c2
-rw-r--r--sysdeps/htl/pt-mutex-init.c2
-rw-r--r--sysdeps/htl/pt-rwlock-init.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/htl/pt-barrier-init.c b/sysdeps/htl/pt-barrier-init.c
index 7d46624fbe..f94dcca3dc 100644
--- a/sysdeps/htl/pt-barrier-init.c
+++ b/sysdeps/htl/pt-barrier-init.c
@@ -36,7 +36,7 @@ pthread_barrier_init (pthread_barrier_t *barrier,
barrier->__count = count;
if (attr == NULL
- || memcmp (attr, &__pthread_default_barrierattr, sizeof (*attr) == 0))
+ || memcmp (attr, &__pthread_default_barrierattr, sizeof (*attr)) == 0)
/* Use the default attributes. */
return 0;
diff --git a/sysdeps/htl/pt-cond-init.c b/sysdeps/htl/pt-cond-init.c
index 4c112e2789..4ae8859b82 100644
--- a/sysdeps/htl/pt-cond-init.c
+++ b/sysdeps/htl/pt-cond-init.c
@@ -28,7 +28,7 @@ __pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t * attr)
*cond = (pthread_cond_t) __PTHREAD_COND_INITIALIZER;
if (attr == NULL
- || memcmp (attr, &__pthread_default_condattr, sizeof (*attr) == 0))
+ || memcmp (attr, &__pthread_default_condattr, sizeof (*attr)) == 0)
/* Use the default attributes. */
return 0;
diff --git a/sysdeps/htl/pt-mutex-init.c b/sysdeps/htl/pt-mutex-init.c
index 664fd607c1..813b976e62 100644
--- a/sysdeps/htl/pt-mutex-init.c
+++ b/sysdeps/htl/pt-mutex-init.c
@@ -29,7 +29,7 @@ _pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
*mutex = (pthread_mutex_t) __PTHREAD_MUTEX_INITIALIZER;
if (attr == NULL
- || memcmp (attr, &__pthread_default_mutexattr, sizeof (*attr) == 0))
+ || memcmp (attr, &__pthread_default_mutexattr, sizeof (*attr)) == 0)
/* The default attributes. */
return 0;
diff --git a/sysdeps/htl/pt-rwlock-init.c b/sysdeps/htl/pt-rwlock-init.c
index 527b0ec62f..41d6df5d38 100644
--- a/sysdeps/htl/pt-rwlock-init.c
+++ b/sysdeps/htl/pt-rwlock-init.c
@@ -27,7 +27,7 @@ _pthread_rwlock_init (pthread_rwlock_t *rwlock,
*rwlock = (pthread_rwlock_t) __PTHREAD_RWLOCK_INITIALIZER;
if (attr == NULL
- || memcmp (attr, &__pthread_default_rwlockattr, sizeof (*attr) == 0))
+ || memcmp (attr, &__pthread_default_rwlockattr, sizeof (*attr)) == 0)
/* Use the default attributes. */
return 0;