Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / mdlib / forcerec.cpp
index a2a076cce752b2108a828ea5479ca8de7d3bbc1f..b7bcdb28d00dad81873fd201f6242264e1446481 100644 (file)
@@ -2334,7 +2334,7 @@ void init_forcerec(FILE                             *fp,
 
     if (check_box(ir->ePBC, box))
     {
-        gmx_fatal(FARGS, check_box(ir->ePBC, box));
+        gmx_fatal(FARGS, "%s", check_box(ir->ePBC, box));
     }
 
     /* Test particle insertion ? */
@@ -2730,7 +2730,7 @@ void init_forcerec(FILE                             *fp,
     {
         if (!gmx_within_tol(ic->reppow, 12.0, 10*GMX_DOUBLE_EPS))
         {
-            gmx_fatal(FARGS, "Cut-off scheme %S only supports LJ repulsion power 12", ecutscheme_names[ir->cutoff_scheme]);
+            gmx_fatal(FARGS, "Cut-off scheme %s only supports LJ repulsion power 12", ecutscheme_names[ir->cutoff_scheme]);
         }
         /* Older tpr files can contain Coulomb user tables with the Verlet cutoff-scheme,
          * while mdrun does not (and never did) support this.