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:
parent
e21330df53
commit
e5667b1d3d
@ -235,7 +235,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
CONFIG_TESTING_SMP_NBARRIER_THREADS);
|
CONFIG_TESTING_SMP_NBARRIER_THREADS);
|
||||||
if (ret != OK)
|
if (ret != OK)
|
||||||
{
|
{
|
||||||
printf(" Main[0]: pthread_barrierattr_init failed, ret=%d\n",
|
printf(" Main[0]: pthread_barrier_init failed, ret=%d\n",
|
||||||
ret);
|
ret);
|
||||||
|
|
||||||
errcode = EXIT_FAILURE;
|
errcode = EXIT_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user