From e5667b1d3d0d5b75ff0ebbbdf9d765f06ad12628 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Wed, 28 Jul 2021 16:57:53 +0200 Subject: [PATCH] testing/smp/smp_main.c: Fix the message printed when pthread_barrier_init fails. Signed-off-by: Abdelatif Guettouche --- testing/smp/smp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/smp/smp_main.c b/testing/smp/smp_main.c index 4a524b01d..f1ba95b70 100644 --- a/testing/smp/smp_main.c +++ b/testing/smp/smp_main.c @@ -235,7 +235,7 @@ int main(int argc, FAR char *argv[]) CONFIG_TESTING_SMP_NBARRIER_THREADS); if (ret != OK) { - printf(" Main[0]: pthread_barrierattr_init failed, ret=%d\n", + printf(" Main[0]: pthread_barrier_init failed, ret=%d\n", ret); errcode = EXIT_FAILURE;