2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Replace ISC_PRINT_QUADFORMAT with inttypes.h format constants

This commit is contained in:
Ondřej Surý
2018-03-28 14:56:40 +02:00
parent 9e493798c6
commit 64fe6bbaf2
31 changed files with 122 additions and 204 deletions

View File

@@ -13,6 +13,8 @@
#include <config.h>
#include <inttypes.h>
#include <isc/buffer.h>
#include <isc/mem.h>
#include <isc/net.h>
@@ -553,7 +555,7 @@ fix_qname_skip_recurse(dns_rpz_zones_t *rpzs) {
set:
isc_log_write(dns_lctx, DNS_LOGCATEGORY_RPZ, DNS_LOGMODULE_RBTDB,
DNS_RPZ_DEBUG_QUIET,
"computed RPZ qname_skip_recurse mask=0x%llx",
"computed RPZ qname_skip_recurse mask=0x%" PRIx64,
(isc_uint64_t) mask);
rpzs->have.qname_skip_recurse = mask;
}
@@ -1624,7 +1626,7 @@ dns_rpz_dbupdate_callback(dns_db_t *db, void *fn_arg) {
DNS_LOGMODULE_MASTER, ISC_LOG_INFO,
"rpz: %s: new zone version came "
"too soon, deferring update for "
"%llu seconds", dname, defer);
"%" PRIu64 " seconds", dname, defer);
isc_interval_set(&interval, (unsigned int)defer, 0);
dns_db_currentversion(zone->db, &zone->dbversion);
result = isc_timer_reset(zone->updatetimer,
@@ -1814,7 +1816,7 @@ finish_update(dns_rpz_zone_t *rpz) {
DNS_LOGMODULE_MASTER, ISC_LOG_INFO,
"rpz: %s: new zone version came "
"too soon, deferring update for "
"%llu seconds", dname, defer);
"%" PRIu64 " seconds", dname, defer);
isc_interval_set(&interval, (unsigned int)defer, 0);
isc_timer_reset(rpz->updatetimer, isc_timertype_once,
NULL, &interval, ISC_TRUE);