From c6c7f7681ec908e2963ae684e77390037a9547a9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Apr 2011 20:44:11 -0400 Subject: spelling error in CANCELED actually either is correct linguistically, but for the constant it must have just a single L --- pthread.c | 6 +++--- 1 file 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; -- cgit v1.2.1