]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
4465. [bug] Don't use "%z" as Windows doesn't support it.
authorMark Andrews <marka@isc.org>
Thu, 8 Sep 2016 04:16:56 +0000 (14:16 +1000)
committerMark Andrews <marka@isc.org>
Thu, 8 Sep 2016 04:17:32 +0000 (14:17 +1000)
                        [RT #43131]

(cherry picked from commit f1977af0d3e400ac6debadd9fdd4c42e52645eb7)

CHANGES
bin/named/server.c

diff --git a/CHANGES b/CHANGES
index d1adbf85b3307f3b32e0cc9b32cf967e38f88ab5..f382ac35b8083f74b0d9e939657c5403ea61b5b4 100644 (file)
--- 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.
index bb122fb9c9bc20cae023974e688e64d137bcd6a5..4805a9f8b41288cc4e413e8ee463af5c06d0cc4f 100644 (file)
@@ -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));
                }
        }