summaryrefslogtreecommitdiff
path: root/items.c
diff options
context:
space:
mode:
Diffstat (limited to 'items.c')
-rw-r--r--items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/items.c b/items.c
index 50d2c92..d655e5e 100644
--- a/items.c
+++ b/items.c
@@ -42,7 +42,7 @@ static itemstats_t itemstats[LARGEST_ID];
static unsigned int sizes[LARGEST_ID];
void item_stats_reset(void) {
- pthread_mutex_lock(&cache_lock);
+ mutex_lock(&cache_lock);
memset(itemstats, 0, sizeof(itemstats));
pthread_mutex_unlock(&cache_lock);
}