From: Mark Andrews Date: Thu, 15 Feb 2018 01:11:17 +0000 (+1100) Subject: use %u instead of %d X-Git-Tag: v9.13.0~155^2~3^2~32 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4745daafe0dbfe8d90300e6e31a84bf17b733800;p=thirdparty%2Fbind9.git use %u instead of %d --- diff --git a/bin/tests/dst/dst_test.c b/bin/tests/dst/dst_test.c index 7fbfc24101e..d499e986a51 100644 --- a/bin/tests/dst/dst_test.c +++ b/bin/tests/dst/dst_test.c @@ -60,13 +60,13 @@ use(dst_key_t *key, isc_mem_t *mctx) { } ret = dst_context_adddata(ctx, &datareg); if (ret != ISC_R_SUCCESS) { - printf("adddata(%d) returned: %s\n", dst_key_alg(key), + printf("adddata(%u) returned: %s\n", dst_key_alg(key), isc_result_totext(ret)); dst_context_destroy(&ctx); return; } ret = dst_context_sign(ctx, &sigbuf); - printf("sign(%d) returned: %s\n", dst_key_alg(key), + printf("sign(%u) returned: %s\n", dst_key_alg(key), isc_result_totext(ret)); dst_context_destroy(&ctx); @@ -75,13 +75,13 @@ use(dst_key_t *key, isc_mem_t *mctx) { ret = dst_context_create3(key, mctx, DNS_LOGCATEGORY_GENERAL, ISC_FALSE, &ctx); if (ret != ISC_R_SUCCESS) { - printf("contextcreate(%d) returned: %s\n", dst_key_alg(key), + printf("contextcreate(%u) returned: %s\n", dst_key_alg(key), isc_result_totext(ret)); return; } ret = dst_context_adddata(ctx, &datareg); if (ret != ISC_R_SUCCESS) { - printf("adddata(%d) returned: %s\n", dst_key_alg(key), + printf("adddata(%u) returned: %s\n", dst_key_alg(key), isc_result_totext(ret)); dst_context_destroy(&ctx); return;