]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
missing format string argument; add format checking
authorAndreas Gustafsson <source@isc.org>
Tue, 22 Jan 2002 21:45:07 +0000 (21:45 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 22 Jan 2002 21:45:07 +0000 (21:45 +0000)
bin/named/update.c

index b2d3ae7b835ebc99292ad75098868c374e8cfa29..0263d351eac773fe83c13f0f7f19bc22654bd1f1 100644 (file)
@@ -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 <config.h>
 
@@ -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,