Fix potential problems with non-literal printf arguments.
[pspp-builds.git] / src / language / stats / mcnemar.c
index e26a3c1d0954f9632fb58c913fc2bf00107d74e9..4f64bbb492dba7ad9748b137e16f5266fe36113b 100644 (file)
@@ -184,7 +184,7 @@ output_freq_table (variable_pair *vp,
   ds_put_cstr (&pair_name, " & ");
   ds_put_cstr (&pair_name, var_to_string ((*vp)[1]));
 
-  tab_title (table, ds_cstr (&pair_name));
+  tab_title (table, "%s", ds_cstr (&pair_name));
 
   ds_destroy (&pair_name);