summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 2408af1..eebebae 100644
--- a/misc.c
+++ b/misc.c
@@ -63,5 +63,5 @@ pthread_self(void)
int
pthread_equal(pthread_t t1, pthread_t t2)
{
- return (t1 != t2);
+ return (t1 == t2);
}