2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

use %u instead of %d

This commit is contained in:
Mark Andrews 2018-02-15 13:43:13 +11:00
parent 54275e8f5c
commit b492700759
2 changed files with 2 additions and 2 deletions

View File

@ -3974,7 +3974,7 @@ ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) {
} }
UNLOCK(&client->query.fetchlock); UNLOCK(&client->query.fetchlock);
fprintf(f, "; client %s%s%s: id %u '%s/%s/%s'%s%s " fprintf(f, "; client %s%s%s: id %u '%s/%s/%s'%s%s "
"requesttime %d\n", peerbuf, sep, name, "requesttime %u\n", peerbuf, sep, name,
client->message->id, namebuf, typebuf, classbuf, client->message->id, namebuf, typebuf, classbuf,
origfor, original, origfor, original,
isc_time_seconds(&client->requesttime)); isc_time_seconds(&client->requesttime));

View File

@ -5072,7 +5072,7 @@ query_trace(query_ctx_t *qctx) {
snprintf(qbuf, sizeof(qbuf), "<unset>"); snprintf(qbuf, sizeof(qbuf), "<unset>");
snprintf(mbuf, sizeof(mbuf) - 1, snprintf(mbuf, sizeof(mbuf) - 1,
"client attr:0x%x, query attr:0x%X, restarts:%d, " "client attr:0x%x, query attr:0x%X, restarts:%u, "
"origqname:%s, timer:%d, authdb:%d, referral:%d", "origqname:%s, timer:%d, authdb:%d, referral:%d",
qctx->client->attributes, qctx->client->attributes,
qctx->client->query.attributes, qctx->client->query.attributes,