diff options
Diffstat (limited to 'condvar.c')
-rw-r--r-- | condvar.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,7 @@ pthread_cond_init (pthread_cond_t * cond, const pthread_condattr_t * attr) cv = (pthread_cond_t) calloc (1, sizeof (*cv)); - if (cv != NULL) + if (cv == NULL) { result = ENOMEM; goto FAIL0; |