mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 22:53:34 -04:00
use %u instead of %d
This commit is contained in:
parent
585a420c64
commit
d76f6a67dd
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue