From 17d03bb71fc2a4944505dd0cd89a8e2d9b2deabc Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 Apr 2011 21:03:00 -0400 Subject: more CANCELED spelling --- pthread.c | 4 ++-- 1 file 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 */ -- cgit v1.2.1