3969a3e
diff -up source/texk/dvi2tty/dvi2tty-5.3.4/DVI.format source/texk/dvi2tty/dvi2tty-5.3.4/DVI
0661363
diff -up source/texk/dvidvi/dvidvi.c.format source/texk/dvidvi/dvidvi.c
3969a3e
--- source/texk/dvidvi/dvidvi.c.format	2015-07-28 21:21:51.170212574 -0400
3969a3e
+++ source/texk/dvidvi/dvidvi.c	2015-07-28 21:22:27.842988620 -0400
0661363
@@ -327,7 +327,7 @@ static void stringdvibuf(integer p, inte
0661363
  *   Print a usage error messsage, and quit.
0661363
  */
0661363
 static void usage(void) {
0661363
-   (void)fprintf(stderr,banner);
0661363
+   (void)fprintf(stderr,"%s",banner);
0661363
    (void)fprintf(stderr,"Usage:  dvidvi [options] input[.dvi] [output]\n");
0661363
    (void)fprintf(stderr,"where options are:\n");
0661363
    (void)fprintf(stderr,"    [-f n] first page printed     [-l n] last page printed\n");
0661363
@@ -806,7 +806,7 @@ default:
0661363
       } /* else argument with '-' */
0661363
    }  /* for */
0661363
    if (*iname == 0) {
0661363
-       (void)fprintf(stderr, banner) ;
0661363
+       (void)fprintf(stderr, "%s", banner) ;
0661363
        error("! no input file specified");
0661363
    }
0661363
    /* Inserted by djc@dsmail.hmi.de 3.8.1994 */
0661363
@@ -817,7 +817,7 @@ default:
0661363
    }
0661363
 
0661363
    if (*oname != 0 && !quiet) {
0661363
-       (void)fprintf(stderr, banner) ;
0661363
+       (void)fprintf(stderr, "%s", banner) ;
0661363
        (void)fprintf(stderr, "%s -> %s\n",iname,oname);
0661363
        temp = nextstring ;
0661363
    }
3969a3e
diff -up source/texk/ps2pk/objects.h.format source/texk/ps2pk/objects.h
3969a3e
--- source/texk/ps2pk/objects.h.format	2015-07-28 21:24:03.356405337 -0400
3969a3e
+++ source/texk/ps2pk/objects.h	2015-07-28 21:24:21.397295166 -0400
3969a3e
@@ -231,7 +231,7 @@ struct xobject {
0661363
 /*SHARED*/
0661363
 /* NDW: personally, I want to see status and error messages! */
0661363
 #define IfTrace0(condition,model)                                 \
0661363
-        {if (condition) printf(model);}
0661363
+        {if (condition) printf("%s",model);}
0661363
 #define IfTrace1(condition,model,arg0)                            \
0661363
         {if (condition) printf(model,arg0);}
0661363
 #define IfTrace2(condition,model,arg0,arg1)                       \
0661363
diff -up source/texk/web2c/cwebboot.cin.format source/texk/web2c/cwebboot.cin
3969a3e
--- source/texk/web2c/cwebboot.cin.format	2015-07-28 21:24:28.351252699 -0400
3969a3e
+++ source/texk/web2c/cwebboot.cin	2015-07-28 21:24:48.779127949 -0400
3969a3e
@@ -1098,7 +1098,7 @@ void
0661363
  fatal(const char*s,const char*t)
0661363
 #line 1182 "cwebdir/common.w"
0661363
 {
0661363
-if(*s)printf(s);
0661363
+if(*s)printf("%s",s);
0661363
 err_print(t);
0661363
 history= fatal_message;exit(wrap_up());
0661363
 }
0661363
diff -up source/texk/web2c/cwebdir/common.c.format source/texk/web2c/cwebdir/common.c
3969a3e
--- source/texk/web2c/cwebdir/common.c.format	2015-07-28 21:24:56.764079186 -0400
3969a3e
+++ source/texk/web2c/cwebdir/common.c	2015-07-28 21:25:24.830907788 -0400
0661363
@@ -1063,7 +1063,7 @@ void
0661363
 fatal(s,t)
0661363
 char*s,*t;
0661363
 {
0661363
-if(*s)printf(s);
0661363
+if(*s)printf("%s",s);
0661363
 err_print(t);
0661363
 history= fatal_message;exit(wrap_up());
0661363
 }
0661363
diff -up source/texk/web2c/cwebdir/common.w.format source/texk/web2c/cwebdir/common.w
3969a3e
--- source/texk/web2c/cwebdir/common.w.format	2015-07-28 21:25:32.886858591 -0400
3969a3e
+++ source/texk/web2c/cwebdir/common.w	2015-07-28 21:25:46.117777793 -0400
0661363
@@ -1180,7 +1180,7 @@ concatenated to print the final error me
0661363
 fatal(s,t)
0661363
   char *s,*t;
0661363
 {
0661363
-  if (*s) printf(s);
0661363
+  if (*s) printf("%s",s);
0661363
   err_print(t);
0661363
   history=fatal_message; exit(wrap_up());
0661363
 }
0661363
diff -up source/texk/web2c/cwebdir/cweave.w.format source/texk/web2c/cwebdir/cweave.w
3969a3e
--- source/texk/web2c/cwebdir/cweave.w.format	2015-07-28 21:25:55.096722960 -0400
3969a3e
+++ source/texk/web2c/cwebdir/cweave.w	2015-07-28 21:26:13.680609471 -0400
0661363
@@ -1784,7 +1784,7 @@ void
0661363
 print_cat(c) /* symbolic printout of a category */
0661363
 eight_bits c;
0661363
 {
0661363
-  printf(cat_name[c]);
0661363
+  printf("%s",cat_name[c]);
0661363
 }
0661363
 
0661363
 @ The token lists for translated \TEX/ output contain some special control
0661363
diff -up source/texk/web2c/omegafonts/error_routines.c.format source/texk/web2c/omegafonts/error_routines.c
3969a3e
--- source/texk/web2c/omegafonts/error_routines.c.format	2015-07-28 21:26:21.654560776 -0400
3969a3e
+++ source/texk/web2c/omegafonts/error_routines.c	2015-07-28 21:27:54.356994659 -0400
3969a3e
@@ -62,7 +62,7 @@ void
0661363
 yyerror(const_string fmt)
0661363
 {
0661363
     fprintf(stderr, "line %d (parsing): ", line_number);
0661363
-    fprintf(stderr, fmt);
0661363
+    fprintf(stderr, "%s", fmt);
0661363
     fprintf(stderr, "\n");
3969a3e
     num_errors++;
0661363
 }
3969a3e
@@ -72,7 +72,7 @@ void
0661363
 warning_0(const_string fmt)
0661363
 {
0661363
     fprintf(stderr, "line %d (warning): ", line_number);
0661363
-    fprintf(stderr, fmt);
0661363
+    fprintf(stderr, "%s", fmt);
0661363
     fprintf(stderr, "\n");
0661363
 }
0661363
 
3969a3e
@@ -120,7 +120,7 @@ void
0661363
 fatal_error_0(const_string fmt)
0661363
 {
0661363
     fprintf(stderr, "line %d (fatal): ", line_number);
0661363
-    fprintf(stderr, fmt);
0661363
+    fprintf(stderr, "%s", fmt);
0661363
     fprintf(stderr, "\n");
0661363
     exit(1);
0661363
 }
3969a3e
@@ -156,7 +156,7 @@ void
0661363
 internal_error_0(const_string fmt)
0661363
 {
0661363
     fprintf(stderr, "line %d (internal): ", line_number);
0661363
-    fprintf(stderr, fmt);
0661363
+    fprintf(stderr, "%s", fmt);
0661363
     fprintf(stderr, "\n");
0661363
     exit(2);
0661363
 }
0661363
diff -up source/texk/web2c/omegafonts/out_routines.c.format source/texk/web2c/omegafonts/out_routines.c
3969a3e
--- source/texk/web2c/omegafonts/out_routines.c.format	2015-07-28 21:28:09.547901891 -0400
3969a3e
+++ source/texk/web2c/omegafonts/out_routines.c	2015-07-28 21:28:22.209824567 -0400
3969a3e
@@ -368,5 +368,5 @@ out_digits(unsigned counter)
0661363
 void
0661363
 out(const_string sval)
0661363
 {
0661363
-	fprintf(file_output, sval);
0661363
+	fprintf(file_output, "%s", sval);
0661363
 }
0661363
diff -up source/texk/web2c/tiedir/tie.c.format source/texk/web2c/tiedir/tie.c
3969a3e
--- source/texk/web2c/tiedir/tie.c.format	2015-07-28 21:28:30.242775511 -0400
3969a3e
+++ source/texk/web2c/tiedir/tie.c	2015-07-28 21:29:04.979563380 -0400
0661363
@@ -27,14 +27,14 @@
0661363
  \
0661363
 
0661363
 #define term_out stdout
0661363
-#define print(a)fprintf(term_out,a)
0661363
+#define print(a)fprintf(term_out,"%s",a)
0661363
 #define print2(a,b)fprintf(term_out,a,b)
0661363
 #define print3(a,b,c)fprintf(term_out,a,b,c)
0661363
 #define print_c(v)fputc(v,term_out);
0661363
 #define new_line(v)fputc('\n',v)
0661363
 #define term_new_line new_line(term_out) \
0661363
 
0661363
-#define print_ln(v){fprintf(term_out,v);term_new_line;} \
0661363
+#define print_ln(v){fprintf(term_out,"%s",v);term_new_line;} \
0661363
 
0661363
 #define print2_ln(a,b){print2(a,b);term_new_line;}
0661363
 #define print3_ln(a,b,c){print3(a,b,c);term_new_line;} \
0661363
diff -up source/texk/web2c/tiedir/tie.w.format source/texk/web2c/tiedir/tie.w
3969a3e
--- source/texk/web2c/tiedir/tie.w.format	2015-07-28 21:29:13.361512193 -0400
3969a3e
+++ source/texk/web2c/tiedir/tie.w	2015-07-28 21:30:18.135116633 -0400
3969a3e
@@ -458,14 +458,14 @@ for terminating an output line and writi
3969a3e
 
3969a3e
 @^system dependencies@>
3969a3e
 @d term_out  stdout
3969a3e
-@d print(a)  fprintf(term_out,a) /* `|print|' means write on the terminal */
3969a3e
+@d print(a)  fprintf(term_out,"%s",a) /* `|print|' means write on the terminal */
3969a3e
 @d print2(a,b)  fprintf(term_out,a,b) /* same with two arguments */
3969a3e
 @d print3(a,b,c)  fprintf(term_out,a,b,c) /* same with three arguments */
3969a3e
 @d print_c(v)  fputc(v,term_out); /* print a single character */
0661363
 @d new_line(v)  fputc('\n',v) /* start new line */
0661363
 @d term_new_line  new_line(term_out)
0661363
 	/* start new line of the terminal */
0661363
-@d print_ln(v)  {fprintf(term_out,v);term_new_line;}
0661363
+@d print_ln(v)  {fprintf(term_out,"%s",v);term_new_line;}
0661363
 	/* `|print|' and then start new line */
0661363
 @d print2_ln(a,b)  {print2(a,b);term_new_line;} /* same with two arguments */
0661363
 @d print3_ln(a,b,c)  {print3(a,b,c);term_new_line;}
3969a3e
diff -up source/utils/devnag/src/devnag.c.format source/utils/devnag/src/devnag.c
3969a3e
--- source/utils/devnag/src/devnag.c.format	2015-07-28 21:23:26.446630739 -0400
3969a3e
+++ source/utils/devnag/src/devnag.c	2015-07-28 21:23:34.215583295 -0400
3969a3e
@@ -2400,7 +2400,7 @@ void put_macro(short macro) {
3969a3e
 void err_ill(const char *str) {
3969a3e
    fprintf(stderr, "Error: illegal character(s) \"%s\" detected at line %d:\n",
3969a3e
 	  str, linenumber);
3969a3e
-   fprintf(stderr, inbuf);
3969a3e
+   fprintf(stderr, "%s", inbuf);
3969a3e
    exit(1);
3969a3e
 }
3969a3e