diff options
author | Linus Nordberg <linus@nordu.net> | 2016-07-17 03:01:20 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-07-17 03:01:20 +0200 |
commit | 9cf4a5fdbabfbfd87881f161126b122567274b12 (patch) | |
tree | 60f0800f3cfc973afd248cfce596cd22db8d0f96 | |
parent | 7c9a8900b3ee40a9aa4df7bb6786288e2de67519 (diff) |
Get that format string right.
-rw-r--r-- | c_src/dnssec.c | 2 |
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"); |