summaryrefslogtreecommitdiff
path: root/assoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'assoc.c')
-rw-r--r--assoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assoc.c b/assoc.c
index 68235d5..1a6b845 100644
--- a/assoc.c
+++ b/assoc.c
@@ -273,7 +273,7 @@ int start_assoc_maintenance_thread() {
hash_bulk_move = DEFAULT_HASH_BULK_MOVE;
}
}
- pthread_mutex_init(&maintenance_lock, NULL);
+
if ((ret = pthread_create(&maintenance_tid, NULL,
assoc_maintenance_thread, NULL)) != 0) {
fprintf(stderr, "Can't create thread: %s\n", strerror(ret));