]> 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>
Thu, 15 Feb 2018 23:20:38 +0000 (10:20 +1100)
lib/isc/mem.c

index 8e10d16ad9fc36cd5bf0ee45085ff72e90773903..da1769c0918f94af9d4886ea9c7c44b6a41f36f9 100644 (file)
@@ -2274,7 +2274,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);