Skip to content

Commit 3514ecb

Browse files
authored
Merge pull request #217 from ChAoSUnItY/fix/minor
Fix incorrect usage of printf
2 parents 8e07fda + fc538e6 commit 3514ecb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/globals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ hashmap_node_t *hashmap_node_new(char *key, void *val)
389389
node->key = calloc(len + 1, sizeof(char));
390390

391391
if (!node->key) {
392-
printf("Failed to allocate hashmap_node_t key with size %d\n");
392+
printf("Failed to allocate hashmap_node_t key with size %d\n", len + 1);
393393
free(node);
394394
return NULL;
395395
}

0 commit comments

Comments
 (0)