diff options
| author | christos <christos@NetBSD.org> | 2016-10-31 16:23:03 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-10-31 16:23:03 +0000 |
| commit | aa3e2252da187c7217cfb74c0e5ccb145b469ffa (patch) | |
| tree | ded4e4d0918cc79e7797a4f17045c99eb271bd18 /tests/lib/libpthread | |
| parent | 46bdf0f7a45561e870381b999eb13c2105a1a4cf (diff) | |
fix typos
Diffstat (limited to 'tests/lib/libpthread')
| -rw-r--r-- | tests/lib/libpthread/t_mutex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/libpthread/t_mutex.c b/tests/lib/libpthread/t_mutex.c index bb35720bcd1..76b37b2d327 100644 --- a/tests/lib/libpthread/t_mutex.c +++ b/tests/lib/libpthread/t_mutex.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_mutex.c,v 1.12 2016/10/31 16:21:23 christos Exp $ */ +/* $NetBSD: t_mutex.c,v 1.13 2016/10/31 16:23:03 christos Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: t_mutex.c,v 1.12 2016/10/31 16:21:23 christos Exp $"); +__RCSID("$NetBSD: t_mutex.c,v 1.13 2016/10/31 16:23:03 christos Exp $"); #include <pthread.h> #include <stdio.h> @@ -591,7 +591,7 @@ ATF_TC_BODY(timedmutex1, tc) PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); - printf("Before acquiring timed-mutex\n"); + printf("Before acquiring regular mutex\n"); PTHREAD_REQUIRE(pthread_mutex_lock(&mutex)); printf("Before endeavor to reacquire timed-mutex (timeout expected)\n"); @@ -612,14 +612,14 @@ ATF_TC_HEAD(timedmutex2, tc) ATF_TC_BODY(timedmutex2, tc) { - printf("Timed mutex-test 1\n"); + printf("Timed mutex-test 2\n"); PTHREAD_REQUIRE(pthread_mutex_init(&mutex, NULL)); printf("Before acquiring timed-mutex with timedlock\n"); PTHREAD_REQUIRE(mutex_lock(&mutex, &ts_lengthy)); - printf("Before endavor to reacquire timed-mutex (timeout expected)\n"); + printf("Before endeavor to reacquire timed-mutex (timeout expected)\n"); PTHREAD_REQUIRE_STATUS(mutex_lock(&mutex, &ts_shortlived), ETIMEDOUT); |
