diff --git a/CHANGES b/CHANGES index d1adbf85b3..f382ac35b8 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4465. [bug] Don't use "%z" as Windows doesn't support it. + [RT #43131] + 4464. [bug] Fix windows python support. [RT #43173] 4463. [bug] The dnstap system test failed on some systems. diff --git a/bin/named/server.c b/bin/named/server.c index bb122fb9c9..4805a9f8b4 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -3481,10 +3481,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist, cfg_obj_log(obj, ns_g_lctx, ISC_LOG_INFO, "'max-cache-size %d%%' " - "- setting to %zuMB (out of %zuMB)", + "- setting to %" ISC_PRINT_QUADFORMAT "uMB " + "(out of %" ISC_PRINT_QUADFORMAT "uMB)", max_cache_size_percent, - max_cache_size / (1024*1024), - (size_t) (totalphys / (1024*1024))); + (isc_uint64_t)(max_cache_size / (1024*1024)), + totalphys / (1024*1024)); } }