From a1728b3d5fd0b417941b7114de2fa9384ece5a35 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Tue, 15 Jan 2008 13:55:23 +0000 Subject: Max Kellermann : add missing printf arguments --- ChangeLog | 1 + src/read_config_yy.y | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 63fe5f5..6543aaf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -62,6 +62,7 @@ o add missing function prototypes o merge several *_alarm() functions into init_alarm() o use add_alarm() in mod_alarm() to avoid code duplication o import tcp_state_helper only once +o add missing printf arguments version 0.9.5 (2007/07/29) ------------------------------ diff --git a/src/read_config_yy.y b/src/read_config_yy.y index 317b45a..8f8759f 100644 --- a/src/read_config_yy.y +++ b/src/read_config_yy.y @@ -217,7 +217,7 @@ multicast_options : multicast_option : T_IPV4_ADDR T_IP { if (!inet_aton($2, &conf.mcast.in)) { - fprintf(stderr, "%s is not a valid IPv4 address\n"); + fprintf(stderr, "%s is not a valid IPv4 address\n", $2); break; } @@ -251,7 +251,7 @@ multicast_option : T_IPV6_ADDR T_IP multicast_option : T_IPV4_IFACE T_IP { if (!inet_aton($2, &conf.mcast.ifa)) { - fprintf(stderr, "%s is not a valid IPv4 address\n"); + fprintf(stderr, "%s is not a valid IPv4 address\n", $2); break; } -- cgit v1.2.3