]> git.pld-linux.org Git - packages/ziptool.git/blob - ziptool-format-security.patch
Fix build with -Werror=format-security
[packages/ziptool.git] / ziptool-format-security.patch
1 --- ziptool-1.4.0/ziptool.c.formatsec   2013-02-15 17:34:38.758667943 +0100
2 +++ ziptool-1.4.0/ziptool.c     2013-02-15 17:37:55.757600709 +0100
3 @@ -542,7 +542,7 @@ static int jazip_get_password(
4          * Keep reading from stdin until a newline '\n' character
5          * is received.
6          */
7 -       (void)printf(prompt);
8 +       (void)fputs(prompt, stdout);
9         (void)fflush(stdout);
10  
11         *buf = '\0';
This page took 0.077774 seconds and 3 git commands to generate.