You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/29 04:13:22 UTC
[incubator-nuttx-apps] 03/04: testing/ostest/barrier: Fix the
message printed when pthread_barrier_init fails.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 025ce0e0083fc4252daaa1741f6cc1377fb13bc6
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Wed Jul 28 17:04:28 2021 +0200
testing/ostest/barrier: Fix the message printed when
pthread_barrier_init fails.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
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 d30c294..a304448 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);
}