]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Wed, 14 Feb 2018 13:03:05 +0000 (00:03 +1100)
committerMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 23:20:38 +0000 (10:20 +1100)
lib/dns/resolver.c

index 32bd83f6cfdef762ca7a4af290fd3310a6cab1f7..c0f254b1292c67ae28226971191806afa71f04b3 100644 (file)
@@ -11101,7 +11101,7 @@ dns_resolver_dumpfetches(dns_resolver_t *resolver,
                     fc = ISC_LIST_NEXT(fc, link))
                {
                        dns_name_print(fc->domain, fp);
-                       fprintf(fp, ": %d active (%d spilled, %d allowed)\n",
+                       fprintf(fp, ": %u active (%u spilled, %u allowed)\n",
                                fc->count, fc->dropped, fc->allowed);
                }
                UNLOCK(&resolver->dbuckets[i].lock);