summaryrefslogtreecommitdiff
path: root/tests/once3.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/once3.c')
-rw-r--r--tests/once3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/once3.c b/tests/once3.c
index 00fa421..ef12290 100644
--- a/tests/once3.c
+++ b/tests/once3.c
@@ -83,7 +83,7 @@ mythread(void * arg)
* Cancel every thread. These threads are deferred cancelable only, so
* only the thread performing the once routine (my_func) will see it (there are
* no other cancelation points here). The result will be that every thread
- * eventually cancels only when it becomes the new once thread.
+ * eventually cancels only when it becomes the new 'once' thread.
*/
assert(pthread_cancel(pthread_self()) == 0);
assert(pthread_once(&once[(int)(size_t)arg], myfunc) == 0);