Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Length modifier 'l' is indeed wrong in %l[efg] for printf.
[simgrid.git] / teshsuite / simdag / platforms / Evaluate_parse_time.c
index 4e88189..e93d972 100644 (file)
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
   xbt_os_cputimer_stop(timer);
 
   /* Display the result and exit after cleanup */
-  printf( "%lf\n", xbt_os_timer_elapsed(timer) );
+  printf( "%f\n", xbt_os_timer_elapsed(timer) );
     printf("Workstation number: %d, link number: %d\n",
            SD_workstation_get_number(), SD_link_get_number());
   if(argv[2]){