diff --git a/src/utils_cache.c b/src/utils_cache.c
index 79989a07aedf0247712ca0805499e750de1bec35..9349a1f4a1c9364f8b170a1e324011a818f34167 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
} cache_entry_t;
static avl_tree_t *cache_tree = NULL;
-static pthread_mutex_t cache_lock;
+static pthread_mutex_t cache_lock = PTHREAD_MUTEX_INITIALIZER;
static int cache_compare (const cache_entry_t *a, const cache_entry_t *b)
{