diff --git a/ruamoko/qwaq/main.c b/ruamoko/qwaq/main.c index 79a4e6f96..87df0a035 100644 --- a/ruamoko/qwaq/main.c +++ b/ruamoko/qwaq/main.c @@ -456,7 +456,7 @@ main (int argc, char **argv) size_t count = thread_data.size; for (size_t i = 0; i < count; i++) { if (thread_data.a[i]->pr && thread_data.a[i]->main_func) { - start_progs_thread (thread_data.a[main_ind]); + start_progs_thread (thread_data.a[i]); } } pthread_join (thread_data.a[main_ind]->thread_id, 0);