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;