diff --git a/lib/ns/client.c b/lib/ns/client.c index 1d3b62a5eb..3b7240b6bd 100644 --- a/lib/ns/client.c +++ b/lib/ns/client.c @@ -3974,7 +3974,7 @@ ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) { } UNLOCK(&client->query.fetchlock); 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, origfor, original, isc_time_seconds(&client->requesttime)); diff --git a/lib/ns/query.c b/lib/ns/query.c index d1b2fcb6eb..e4d56917a9 100644 --- a/lib/ns/query.c +++ b/lib/ns/query.c @@ -5072,7 +5072,7 @@ query_trace(query_ctx_t *qctx) { snprintf(qbuf, sizeof(qbuf), ""); 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", qctx->client->attributes, qctx->client->query.attributes,