File: fix-format-security-error.patch

package info (click to toggle)
zimpl 3.2.0%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,808 kB
  • sloc: ansic: 20,268; yacc: 941; lex: 341; makefile: 190; sh: 159
file content (13 lines) | stat: -rw-r--r-- 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Joachim Reichel <reichel@debian.org>
Description: Fix an error caused by -Wformat-security.
--- a/src/zimpllib.c
+++ b/src/zimpllib.c
@@ -89,7 +89,7 @@ void zpl_print_banner(FILE* fp, Bool wit
       fprintf(fp, banner, VERSION);
 
       if (with_license || verbose > VERB_NORMAL)
-         fprintf(fp, license); 
+         fprintf(fp, "%s", license); 
 
       fputc('\n', fp);
    }