summaryrefslogtreecommitdiff
path: root/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.c')
-rw-r--r--pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread.c b/pthread.c
index 146164d..dc1e74e 100644
--- a/pthread.c
+++ b/pthread.c
@@ -129,8 +129,8 @@ int test_pthread(void)
foo[0] = 0;
TEST(r, pthread_create(&td, 0, start4, foo), 0, "failed to create thread");
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_join(td, &res), 0, "joining canceled thread");
+ TEST(res, res, PTHREAD_CANCELED, "canceled thread exit status");
TEST(r, foo[0], 1, "cleanup handler failed to run");
/* Robust mutexes */