Author: Alastair McKinstry <mckinstry@debian.org>
Description: Silence spurious warnings when building with security flags
Last-Updated: 2015-05-11
Forwarded: no

Index: adios-1.7.0/utils/skeldump/skeldump.c
===================================================================
--- adios-1.7.0.orig/utils/skeldump/skeldump.c
+++ adios-1.7.0/utils/skeldump/skeldump.c
@@ -919,7 +919,7 @@ int print_data_hist(ADIOS_VARINFO * vi,
     strcat(xtics, ")\n");
 
     fprintf(out_plot, "start = -0.5\npos(x) = start + x * 1\nset boxwidth 1\nset style fill solid border 5#5lt6#6\n");
-    fprintf(out_plot, xtics);
+    fprintf(out_plot, "%s",xtics);
     fprintf(out_plot, "plot '%s' using 3 smooth frequency w boxes\n", hist_file);
     fprintf(out_plot, "pause -1 'Press Enter to quit'\n");
 }
@@ -1498,7 +1498,7 @@ int print_data_characteristics(void * mi
 
         case adios_long_double:
             //fprintf(outf,(f ? format : "%g "), ((double *) data)[item]);
-            fprintf(outf,(f ? format : "????????"));
+            fprintf(outf,"%s", (f ? format : "????????"));
             break;
 
             // TO DO
@@ -1566,7 +1566,7 @@ int print_data(void *data, int item, enu
 
         case adios_long_double:
             //fprintf(outf,(f ? format : "%g "), ((double *) data)[item]);
-            fprintf(outf,(f ? format : "????????"));
+            fprintf(outf,"%s", (f ? format : "????????"));
             break;
 
 
