Warn for type mismatch for gmx printf like functions 2/3
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_nmr.cpp
index 4bf48a4eef90132b02470b2fe0820c1eac454d82..b8f15180e4bf6415862817ff1b8209b509e2bc4a 100644 (file)
@@ -786,7 +786,7 @@ int gmx_nmr(int argc, char *argv[])
 
                         if (blk->sub[0].nr != nor)
                         {
-                            gmx_fatal(FARGS, "Number of orientation restraints in energy file (%d) does not match with the topology (%d)", blk->sub[0].nr);
+                            gmx_fatal(FARGS, "Number of orientation restraints in energy file (%d) does not match with the topology (%d)", blk->sub[0].nr, nor);
                         }
                         if (bORA || bODA)
                         {