From 5bc9ede0928c2aa320b404ad5a2aa122271c594a Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 15 Feb 2018 13:23:11 +1100 Subject: [PATCH] use %u instead of %d --- lib/isc/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 8e10d16ad9..da1769c091 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -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 ? "" : ctx->name, ctx->references);