Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > bd0cd626320c582e7b7938d6933cc092 > files > 2

ziptool-1.4.0-6mdv2010.0.src.rpm

diff -p -up ziptool-1.4.0/ziptool.c.orig ziptool-1.4.0/ziptool.c
--- ziptool-1.4.0/ziptool.c.orig	2009-10-08 15:52:40.000000000 -0300
+++ ziptool-1.4.0/ziptool.c	2009-10-08 15:53:09.000000000 -0300
@@ -541,7 +541,7 @@ static int jazip_get_password(
 	 * Keep reading from stdin until a newline '\n' character
 	 * is received.
 	 */
-	(void)printf(prompt);
+	(void)printf("%s", prompt);
 	(void)fflush(stdout);
 
 	*buf = '\0';