diff options
| -rw-r--r-- | map.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,7 +38,8 @@ void map_init_capacity( map->__buckets = calloc(map->__num_buckets, sizeof(struct __map_entry*)); if (map->__buckets == NULL) - crash("Out of memory allocating %ld hash buckets\n"); + crash( + "Out of memory allocating %ld hash buckets\n", map->__num_buckets); } void map_destroy(map_t* map) { |
