tests: fix once test

This commit is contained in:
Lennart Poettering 2010-05-08 01:50:05 +02:00
parent 4df443bbe6
commit abb05d610d

View file

@ -80,7 +80,7 @@ int main(int argc, char *argv[]) {
pa_zero(once);
for (i = 0; i < N_THREADS; i++)
threads[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1));
threads[i] = pa_thread_new("once", thread_func, pa_sprintf_malloc("Thread #%i", i+1));
for (i = 0; i < N_THREADS; i++)
pa_thread_join(threads[i]);