Warn for type mismatch for gmx printf like functions 1/3
[alexxy/gromacs.git] / src / gromacs / pbcutil / mshift.cpp
index 4ff56f879c1660fbc3a5fe1883a47273ca2a9587..e7949ce94161ae5b401bc3e60f966a732826fd35 100644 (file)
@@ -903,7 +903,7 @@ void mk_mshift(FILE *log, t_graph *g, int ePBC,
                 default:
                     mesg += " Either you have excessively large distances between atoms in bonded interactions or your system is exploding.";
             }
-            gmx_fatal(FARGS, mesg.c_str());
+            gmx_fatal(FARGS, "%s", mesg.c_str());
         }
 
         /* The most likely reason for arriving here is a periodic molecule. */