aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl/pt-rwlock-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/htl/pt-rwlock-init.c')
-rw-r--r--sysdeps/htl/pt-rwlock-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/pt-rwlock-init.c b/sysdeps/htl/pt-rwlock-init.c
index 527b0ec..41d6df5 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;