diff options
| author | Carson Fleming <[email protected]> | 2026-02-04 10:35:45 -0500 |
|---|---|---|
| committer | Carson Fleming <[email protected]> | 2026-02-04 10:35:45 -0500 |
| commit | 76ffe6a90b284ab54a6f926ce0f1a299d9fac61b (patch) | |
| tree | 8dc59175dfe513a89724fa70e86898132099e487 | |
| parent | 85d71d02763b3128689c5d880b4d3c6a99b06ff4 (diff) | |
| download | safec-76ffe6a90b284ab54a6f926ce0f1a299d9fac61b.tar.gz | |
format string bug
| -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) { |
