2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

missing format string argument; add format checking

This commit is contained in:
Andreas Gustafsson 2002-01-22 21:45:07 +00:00
parent 47af71b523
commit ec52edeff2

View 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,