summaryrefslogtreecommitdiff
path: root/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.c')
-rw-r--r--pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pthread.c b/pthread.c
index a851340..146164d 100644
--- a/pthread.c
+++ b/pthread.c
@@ -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;