mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
missing format string argument; add format checking
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* 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>
|
#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
|
static void
|
||||||
update_log(ns_client_t *client, dns_zone_t *zone,
|
update_log(ns_client_t *client, dns_zone_t *zone,
|
||||||
int level, const char *fmt, ...)
|
int level, const char *fmt, ...)
|
||||||
@@ -2395,7 +2399,7 @@ update_action(isc_task_t *task, isc_event_t *event) {
|
|||||||
update_log(client, zone,
|
update_log(client, zone,
|
||||||
LOGLEVEL_PROTOCOL,
|
LOGLEVEL_PROTOCOL,
|
||||||
"delete all rrsets from "
|
"delete all rrsets from "
|
||||||
"name '%s'");
|
"name '%s'", namestr);
|
||||||
}
|
}
|
||||||
if (dns_name_equal(name, zonename)) {
|
if (dns_name_equal(name, zonename)) {
|
||||||
CHECK(delete_if(type_not_soa_nor_ns_p,
|
CHECK(delete_if(type_not_soa_nor_ns_p,
|
||||||
|
Reference in New Issue
Block a user