From ca06a4a355d85a440c4638600d56bb96e3e6ca7a Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Wed, 7 Dec 2022 13:20:29 +0100 Subject: [PATCH] typo in printf --- 2022/day01/aoc-c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2022/day01/aoc-c.c b/2022/day01/aoc-c.c index 3daf1ce..e1ea637 100644 --- a/2022/day01/aoc-c.c +++ b/2022/day01/aoc-c.c @@ -71,7 +71,7 @@ int main(int ac, char **av) pool_t *pool_tot = pool_create("total", 128, sizeof(struct plist_node)); parse(pool_tot); - printf("%s : res=%d\n", *av, calc_top_plist(part == 1? 1: 3)); + printf("%s: res=%d\n", *av, calc_top_plist(part == 1? 1: 3)); pool_destroy(pool_tot); exit(0); }