From ec52edeff21c45e1469c2a74d78632e7d6fb0b52 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Tue, 22 Jan 2002 21:45:07 +0000 Subject: [PATCH] missing format string argument; add format checking --- bin/named/update.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/named/update.c b/bin/named/update.c index b2d3ae7b83..0263d351ea 100644 --- a/bin/named/update.c +++ b/bin/named/update.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: update.c,v 1.94 2002/01/22 16:05:51 bwelling Exp $ */ +/* $Id: update.c,v 1.95 2002/01/22 21:45:07 gson Exp $ */ #include @@ -180,6 +180,10 @@ static void forward_done(isc_task_t *task, isc_event_t *event); /**************************************************************************/ +static void +update_log(ns_client_t *client, dns_zone_t *zone, + int level, const char *fmt, ...) ISC_FORMAT_PRINTF(4, 5); + static void update_log(ns_client_t *client, dns_zone_t *zone, int level, const char *fmt, ...) @@ -2395,7 +2399,7 @@ update_action(isc_task_t *task, isc_event_t *event) { update_log(client, zone, LOGLEVEL_PROTOCOL, "delete all rrsets from " - "name '%s'"); + "name '%s'", namestr); } if (dns_name_equal(name, zonename)) { CHECK(delete_if(type_not_soa_nor_ns_p,