diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-01 20:44:11 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-01 20:44:11 -0400 |
commit | c6c7f7681ec908e2963ae684e77390037a9547a9 (patch) | |
tree | e469f07ddf11fd8752453a4f1ca60ac057ec7fff | |
parent | 6cdb371a202c15e624a79483b717e1302d84ac9f (diff) | |
download | libc-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.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; |