From fc538e6c253592fc73ade755a3df55d5249cd21c Mon Sep 17 00:00:00 2001 From: Kyle Lin Date: Thu, 12 Jun 2025 14:39:38 +0800 Subject: [PATCH] Fix incorrect usage of printf --- src/globals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/globals.c b/src/globals.c index 2d1ae5c0..cd14a3c2 100644 --- a/src/globals.c +++ b/src/globals.c @@ -389,7 +389,7 @@ hashmap_node_t *hashmap_node_new(char *key, void *val) node->key = calloc(len + 1, sizeof(char)); if (!node->key) { - printf("Failed to allocate hashmap_node_t key with size %d\n"); + printf("Failed to allocate hashmap_node_t key with size %d\n", len + 1); free(node); return NULL; }