summaryrefslogtreecommitdiff
path: root/src/sna/sna_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_threads.c')
-rw-r--r--src/sna/sna_threads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_threads.c b/src/sna/sna_threads.c
index c56f3bc9..13109724 100644
--- a/src/sna/sna_threads.c
+++ b/src/sna/sna_threads.c
@@ -149,6 +149,7 @@ void sna_threads_init(void)
pthread_cond_init(&threads[n].cond, NULL);
threads[n].func = NULL;
+ threads[n].arg = NULL;
if (pthread_create(&threads[n].thread, NULL,
__run__, &threads[n]))
goto bail;