summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-01 20:44:11 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-01 20:44:11 -0400
commitc6c7f7681ec908e2963ae684e77390037a9547a9 (patch)
treee469f07ddf11fd8752453a4f1ca60ac057ec7fff
parent6cdb371a202c15e624a79483b717e1302d84ac9f (diff)
downloadlibc-testsuite-c6c7f7681ec908e2963ae684e77390037a9547a9.tar.gz
spelling error in CANCELED
actually either is correct linguistically, but for the constant it must have just a single L
-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;