summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-01 21:03:00 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-01 21:03:00 -0400
commit17d03bb71fc2a4944505dd0cd89a8e2d9b2deabc (patch)
tree4a84d7a86153a7b09883e2c3b2ccf9509f14c35c
parentc6c7f7681ec908e2963ae684e77390037a9547a9 (diff)
downloadlibc-testsuite-17d03bb71fc2a4944505dd0cd89a8e2d9b2deabc.tar.gz
more CANCELED spelling
-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 */