mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 17:52:10 -04:00
Don't use %z format specifier that caused crash with rndc stats on some Visual Studio builds
This commit is contained in:
parent
049a49c295
commit
7472cd350f
2 changed files with 7 additions and 1 deletions
5
CHANGES
5
CHANGES
|
|
@ -1,3 +1,8 @@
|
|||
4368. [bug] Fix a crash when calling "rndc stats" on some
|
||||
Windows builds because some Visual Studio compilers
|
||||
generated crashing code for the "%z" printf()
|
||||
format specifier. [RT #42380]
|
||||
|
||||
--- 9.11.0a1 released ---
|
||||
|
||||
4367. [bug] Remove unnecessary assignment of loadtime in
|
||||
|
|
|
|||
|
|
@ -1416,7 +1416,8 @@ dns_cache_dumpstats(dns_cache_t *cache, FILE *fp) {
|
|||
"cache records deleted due to TTL expiration");
|
||||
fprintf(fp, "%20u %s\n", dns_db_nodecount(cache->db),
|
||||
"cache database nodes");
|
||||
fprintf(fp, "%20zu %s\n", dns_db_hashsize(cache->db),
|
||||
fprintf(fp, "%20" ISC_PLATFORM_QUADFORMAT "u %s\n",
|
||||
(isc_uint64_t) dns_db_hashsize(cache->db),
|
||||
"cache database hash buckets");
|
||||
|
||||
fprintf(fp, "%20u %s\n", (unsigned int) isc_mem_total(cache->mctx),
|
||||
|
|
|
|||
Loading…
Reference in a new issue