From 025ce0e0083fc4252daaa1741f6cc1377fb13bc6 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Wed, 28 Jul 2021 17:04:28 +0200 Subject: [PATCH] testing/ostest/barrier: Fix the message printed when pthread_barrier_init fails. Signed-off-by: Abdelatif Guettouche --- testing/ostest/barrier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/ostest/barrier.c b/testing/ostest/barrier.c index d30c2944a..a304448c4 100644 --- a/testing/ostest/barrier.c +++ b/testing/ostest/barrier.c @@ -118,7 +118,7 @@ void barrier_test(void) CONFIG_TESTING_OSTEST_NBARRIER_THREADS); if (status != OK) { - printf("barrier_test: pthread_barrierattr_init failed, status=%d\n", + printf("barrier_test: pthread_barrier_init failed, status=%d\n", status); }