diff options
Diffstat (limited to 'tests/equal1.c')
-rw-r--r-- | tests/equal1.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |