From f0f43f302a024980f80883f092a69165b8a7c643 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 18 Feb 1999 03:13:26 +0000 Subject: Sat Feb 18 16:2s1703:30 1999 Ross Johnson * misc.c (pthread_equal): Fix inverted result. --- tests/equal1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/equal1.c') diff --git a/tests/equal1.c b/tests/equal1.c index 3b4c758..e877990 100644 --- a/tests/equal1.c +++ b/tests/equal1.c @@ -14,7 +14,7 @@ main() int rc; pthread_t t1, t2; rc = pthread_create(&t1, NULL, func, (void *) 1); - rc = pthread_create(&t1, NULL, func, (void *) 2); + rc = pthread_create(&t2, NULL, func, (void *) 2); puts("testing t1 and t2: "); if (pthread_equal(t1, t2)) -- cgit v1.2.3