summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-destroy-specific.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pt-destroy-specific.c')
-rw-r--r--sysdeps/generic/pt-destroy-specific.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-destroy-specific.c b/sysdeps/generic/pt-destroy-specific.c
index fd1b427..cb6affe 100644
--- a/sysdeps/generic/pt-destroy-specific.c
+++ b/sysdeps/generic/pt-destroy-specific.c
@@ -28,7 +28,7 @@ __pthread_destroy_specific (struct __pthread *thread)
int seen_one;
/* Check if there is any thread specific data. */
- if (!thread->thread_specifics)
+ if (thread->thread_specifics == NULL)
return;
__pthread_key_lock_ready ();