From: Mark Andrews Date: Thu, 15 Feb 2018 01:04:33 +0000 (+1100) Subject: use %u instead of %d X-Git-Tag: v9.13.0~155^2~3^2~34 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=b513bbe9ff21fe0f7cbc147efebfae293a2e292f;p=thirdparty%2Fbind9.git use %u instead of %d --- diff --git a/lib/dns/dnstap.c b/lib/dns/dnstap.c index 9c58a79ee87..90227625440 100644 --- a/lib/dns/dnstap.c +++ b/lib/dns/dnstap.c @@ -1247,7 +1247,7 @@ dns_dt_datatotext(dns_dtdata_t *d, isc_buffer_t **dest) { /* Message size */ if (d->msgdata.base != NULL) { - snprintf(buf, sizeof(buf), "%zdb ", (size_t) d->msgdata.length); + snprintf(buf, sizeof(buf), "%zub ", (size_t) d->msgdata.length); CHECK(putstr(dest, buf)); } else CHECK(putstr(dest, "0b "));