Fixing another problem with the fortran interfaces. This time the all caps and lowerc...
[charm.git] / src / ck-cp / controlPoints.C
index cb3a5c58062cb279982b7485c9e79419aa4fed2f..43abb46f6a42d78f8e08d9038e3ab5aea4e40052 100644 (file)
@@ -1029,7 +1029,7 @@ public:
     double period;
     bool haveSamplePeriod = CmiGetArgDoubleDesc(args->argv,"+CPSamplePeriod", &period,"The time between Control Point Framework samples (in seconds)");
     if(haveSamplePeriod){
-      CkPrintf("controlPointSamplePeriod = %ld sec\n", period);
+      CkPrintf("controlPointSamplePeriod = %lf sec\n", period);
       controlPointSamplePeriod =  period * 1000; /**< A readonly */
     } else {
       controlPointSamplePeriod =  DEFAULT_CONTROL_POINT_SAMPLE_PERIOD;