]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use %u instead of %d
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 02:23:11 +0000 (13:23 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/isc/mem.c

index b2898c63658c89e219aadbfdc70cd216d6cc7335..04e49e17c3172715c8e8a54b6ce7cc5f09e696e1 100644 (file)
@@ -2297,7 +2297,7 @@ print_contexts(FILE *file) {
             ctx != NULL;
             ctx = ISC_LIST_NEXT(ctx, link))
        {
-               fprintf(file, "context: %p (%s): %d references\n",
+               fprintf(file, "context: %p (%s): %u references\n",
                        ctx,
                        ctx->name[0] == 0 ? "<unknown>" : ctx->name,
                        ctx->references);