From: Wouter Wijngaards Date: Thu, 31 Oct 2013 16:01:01 +0000 (+0000) Subject: fixup nonliteral format string X-Git-Tag: release-1.4.22rc1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ffa3068d0a504689e5c3082f2d2297858be260;p=thirdparty%2Funbound.git fixup nonliteral format string git-svn-id: file:///svn/unbound/trunk@3004 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/ldns/wire2str.c b/ldns/wire2str.c index 80222b210..e94715551 100644 --- a/ldns/wire2str.c +++ b/ldns/wire2str.c @@ -314,7 +314,7 @@ static int print_remainder_hex(const char* pref, uint8_t** d, size_t* dlen, char** s, size_t* slen) { int w = 0; - w += ldns_str_print(s, slen, pref); + w += ldns_str_print(s, slen, "%s", pref); w += print_hex_buf(s, slen, *d, *dlen); *d += *dlen; *dlen = 0;