File: format_fix.patch

package info (click to toggle)
html-xml-utils 7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,028 kB
  • ctags: 1,703
  • sloc: ansic: 11,383; sh: 3,502; lex: 243; makefile: 174; yacc: 125
file content (14 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Daniel Leidert <dleidert@debian.org>
Description: Fix FTBFS with -Werror=format-security.

--- a/url.c
+++ b/url.c
@@ -61,7 +61,7 @@
 
   rc = idn2_lookup_u8(s, (uint8_t**)&p, IDN2_NFC_INPUT);
   if (rc == IDN2_OK) return p;
-  warnx(idn2_strerror(rc));
+  warnx("%s", idn2_strerror(rc));
   return newstring(s);
 #elif HAVE_LIBIDN
   string p;