Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / readir.cpp
index 55bd2db67e5e0b36e2bf9f7e0dee83227c925620..1e49192d1d5860c42c7b669805435b12e4c7f7cd 100644 (file)
@@ -175,7 +175,7 @@ static void GetSimTemps(int ntemps, t_simtemp *simtemp, double *temperature_lamb
         {
             char errorstr[128];
             sprintf(errorstr, "eSimTempScale=%d not defined", simtemp->eSimTempScale);
-            gmx_fatal(FARGS, errorstr);
+            gmx_fatal(FARGS, "%s", errorstr);
         }
     }
 }