summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p11-kit/hashmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/hashmap.c b/p11-kit/hashmap.c
index 9026827..518a984 100644
--- a/p11-kit/hashmap.c
+++ b/p11-kit/hashmap.c
@@ -271,7 +271,7 @@ hash_create (hash_hash_func hash_func,
return NULL;
}
- map->num_buckets = 0;
+ map->num_items = 0;
}
return map;