diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/read_config_yy.y | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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; } |