diff --git a/bin/tests/rwlock_test.c b/bin/tests/rwlock_test.c index 328b09c1e9..e05fd05d13 100644 --- a/bin/tests/rwlock_test.c +++ b/bin/tests/rwlock_test.c @@ -89,7 +89,7 @@ main(int argc, char *argv[]) { INSIST(isc_thread_create(run1, dupname, &workers[i]) == ISC_R_SUCCESS); else - INSIST(isc_thread_create(run1, dupname, &workers[i]) == + INSIST(isc_thread_create(run2, dupname, &workers[i]) == ISC_R_SUCCESS); }