summaryrefslogtreecommitdiff
path: root/c_src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-07-17 02:38:01 +0200
committerLinus Nordberg <linus@nordu.net>2016-07-17 02:38:01 +0200
commit7c9a8900b3ee40a9aa4df7bb6786288e2de67519 (patch)
tree813d3a78e7f223b13ac8bebf79a9e16b57612112 /c_src
parentd7ffa2ee4e8a0b2439ab24f2688989e3cd40579b (diff)
%z for size_t.
Diffstat (limited to 'c_src')
-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 440353b..abbe5cc 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 %d octets of data, including status code %d\n",
+ fprintf(stderr, "writing %z octets of data, including status code %d\n",
2 + out_len, r);
if (write_reply(reply, 2 + out_len, 4))
fprintf(stderr, "error writing reply\n");