about summary refs log tree commit diff
path: root/sysdeps/htl/pt-cond-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-cond-init.c')
-rw-r--r--sysdeps/htl/pt-cond-init.c2
1 files changed, 1 insertions, 1 deletions
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;