testing/smp/smp_main.c: Fix the message printed when

pthread_barrier_init fails.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-07-28 16:57:53 +02:00 committed by Xiang Xiao
parent e21330df53
commit e5667b1d3d

View File

@ -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;