diff options
-rw-r--r-- | pthread.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -121,9 +121,9 @@ int test_pthread(void) /* Asynchronous cancellation */ TEST(r, pthread_create(&td, 0, start3, &barrier2), 0, "failed to create thread"); pthread_barrier_wait(&barrier2); - TEST(r, pthread_cancel(td), 0, "cancelling"); - TEST(r, pthread_join(td, &res), 0, "joining cancelled thread"); - TEST(res, res, PTHREAD_CANCELLED, "cancelled thread exit status"); + TEST(r, pthread_cancel(td), 0, "canceling"); + TEST(r, pthread_join(td, &res), 0, "joining canceled thread"); + TEST(res, res, PTHREAD_CANCELED, "canceled thread exit status"); /* Cancellation cleanup handlers */ foo[0] = 0; |