Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > c2efa3f41fa4543ae6df7fd1dc448991 > files > 6

grace-5.1.22-5mdv2010.1.src.rpm

diff -p -up ./src/utils.c.orig ./src/utils.c
--- ./src/utils.c.orig	2007-02-15 23:36:54.000000000 +0100
+++ ./src/utils.c	2009-09-09 18:07:00.000000000 +0200
@@ -1166,17 +1166,17 @@ int yesno(char *msg, char *s1, char *s2,
 void stufftext(char *s)
 {
 #ifdef NONE_GUI
-    printf(s);
+    printf("%s", s);
 #else
     if (inwin) {
         stufftextwin(s);
     } else {
-        printf(s);
+        printf("%s", s);
     }
 #endif
     /* log results to file */
     if (resfp != NULL) {
-	fprintf(resfp, s);
+      fprintf(resfp, "%s", s);
     }
 }