summaryrefslogtreecommitdiffstats
path: root/src/tests/thread-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/thread-test.c')
-rw-r--r--src/tests/thread-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/thread-test.c b/src/tests/thread-test.c
index 2c07b1cc..4943a176 100644
--- a/src/tests/thread-test.c
+++ b/src/tests/thread-test.c
@@ -102,7 +102,7 @@ int main(int argc, char *argv[]) {
tls = pa_tls_new(pa_xfree);
for (i = 0; i < THREADS_MAX; i++) {
- t[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1));
+ t[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1));
assert(t[i]);
}