summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-07-17 03:01:20 +0200
committerLinus Nordberg <linus@nordu.net>2016-07-17 03:01:20 +0200
commit9cf4a5fdbabfbfd87881f161126b122567274b12 (patch)
tree60f0800f3cfc973afd248cfce596cd22db8d0f96
parent7c9a8900b3ee40a9aa4df7bb6786288e2de67519 (diff)
Get that format string right.
-rw-r--r--c_src/dnssec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/dnssec.c b/c_src/dnssec.c
index abbe5cc..46a5748 100644
--- a/c_src/dnssec.c
+++ b/c_src/dnssec.c
@@ -325,7 +325,7 @@ loop(getdns_list *trust_anchors)
*((uint16_t *) reply) = htons(r);
if (debug)
- fprintf(stderr, "writing %z octets of data, including status code %d\n",
+ fprintf(stderr, "writing %zu octets of data, including status code %u\n",
2 + out_len, r);
if (write_reply(reply, 2 + out_len, 4))
fprintf(stderr, "error writing reply\n");