Skip to content

Commit fc538e6

Browse files
committed
Fix incorrect usage of printf
1 parent 8e07fda commit fc538e6

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)