[Commits] [svn:einsteintoolkit] Multipole/trunk/src/ (Rev. 86)

ian.hinder at aei.mpg.de ian.hinder at aei.mpg.de
Wed Nov 21 10:12:07 CST 2012


User: hinder
Date: 2012/11/21 10:12 AM

Modified:
 /trunk/src/
  utils.cc

Log:
 utils.cc: Use format string in CCTK_VWarn

File Changes:

Directory: /trunk/src/
======================

File [modified]: utils.cc
Delta lines: +1 -1
===================================================================
--- trunk/src/utils.cc	2012-11-05 14:45:03 UTC (rev 85)
+++ trunk/src/utils.cc	2012-11-21 16:12:07 UTC (rev 86)
@@ -45,7 +45,7 @@
 
   if (fp == 0)
   {
-    CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, (string("Could not open output file ") + output_name).c_str());
+    CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, "%s", (string("Could not open output file ") + output_name).c_str());
   }
 
   return fp;



More information about the Commits mailing list