diff options
Diffstat (limited to 'sync.c')
-rw-r--r-- | sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ pthread_join (pthread_t thread, void **value_ptr) self = pthread_self (); - if (pthread_equal (self, thread) == 0) + if (pthread_equal (self, thread) != 0) { result = EDEADLK; } |