From 50567b0f64282e587ff589811ac1499f004d62f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 1 Oct 2018 22:21:43 +0200 Subject: core: add missing argument in call to log_printf --- src/core/hook/wee-hook-connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hook/wee-hook-connect.c b/src/core/hook/wee-hook-connect.c index 5282d6490..524ed0791 100644 --- a/src/core/hook/wee-hook-connect.c +++ b/src/core/hook/wee-hook-connect.c @@ -413,8 +413,8 @@ hook_connect_print_log (struct t_hook *hook) { for (i = 0; i < HOOK_CONNECT_MAX_SOCKETS; i++) { - log_printf (" sock_v4[%d]. . . . . . : '%d'", HOOK_CONNECT(hook, sock_v4[i])); - log_printf (" sock_v6[%d]. . . . . . : '%d'", HOOK_CONNECT(hook, sock_v6[i])); + log_printf (" sock_v4[%03d]. . . . . : '%d'", i, HOOK_CONNECT(hook, sock_v4[i])); + log_printf (" sock_v6[%03d]. . . . . : '%d'", i, HOOK_CONNECT(hook, sock_v6[i])); } } } -- cgit v1.2.3