summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-08 01:50:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-08 01:50:05 +0200
commitabb05d610d981fd8d4f3408a718da79f25a4e87e (patch)
treee2a62962f8afe5ee3ed7005975e61dd8c62d18a3
parent4df443bbe682055a41e7c2248877dcc7682a69b8 (diff)
tests: fix once test
-rw-r--r--src/tests/once-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/once-test.c b/src/tests/once-test.c
index 37f3ac328..86a124796 100644
--- a/src/tests/once-test.c
+++ b/src/tests/once-test.c
@@ -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]);