From 9cf4a5fdbabfbfd87881f161126b122567274b12 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Sun, 17 Jul 2016 03:01:20 +0200 Subject: Get that format string right. --- c_src/dnssec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.1