summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorbje <bje>1998-10-04 19:38:04 +0000
committerbje <bje>1998-10-04 19:38:04 +0000
commit11b839f08794de0d090811580a09aa6db5b21f2c (patch)
treec41469a1ba35d67bb40fbf32d480a5b2c5533420 /misc.c
parent0477632dbe94f378853364cd868cc0f800cb5755 (diff)
1998-10-05 Ben Elliston <bje@cygnus.com>
* misc.c (pthread_equal): Correct inverted logic bug. * tests/create1.c: New file; test pthread_create(). Passes. * tests/equal.c: Poor test; remove. * tests/equal1.c New file; test pthread_equal(). Passes.
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);
}