diff options
-rw-r--r-- | pthread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |