]> 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>
Fri, 16 Feb 2018 05:31:18 +0000 (16:31 +1100)
lib/dns/resolver.c

index 1fa5bc257197664b8b88a238bd3b52328bad65fb..ca2fbb42ec678410a610d08fd044cf9611a1825b 100644 (file)
@@ -10502,7 +10502,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);