apps/examplessmp: Fix a place where a spurious semicolon causes bad conditional logic

This commit is contained in:
Gregory Nutt 2016-05-11 17:41:13 -06:00
parent 0fcc63b642
commit 6a68a12269

View File

@ -309,7 +309,7 @@ int smp_main(int argc, char *argv[])
for (i = 0; i < CONFIG_EXAMPLES_SMP_NBARRIER_THREADS; i++)
{
if (threadid[i] != 0);
if (threadid[i] != 0)
{
ret = pthread_join(threadid[i], &result);
show_cpu_conditional(" Main", 0);