summaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync.c b/sync.c
index 2fc08ec..c4e4327 100644
--- a/sync.c
+++ b/sync.c
@@ -73,7 +73,7 @@ pthread_detach(pthread_t thread)
this = _pthread_find_thread_entry(thread);
- if (this = -1)
+ if (this == -1)
{
return ESRCH;
}