]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/smx_environment.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ASM on mac is not the same as linux.
[simgrid.git] / src / simix / smx_environment.c
index 600d6da7b86b500e46c1275201a4a1b180b9d1d3..c342abc4a8c46788ded16462917d0026f1d3cffe 100644 (file)
@@ -39,7 +39,7 @@ void SIMIX_create_environment(const char *file)
 
   double start, end;
 
-  platform_filename = bprintf("%s",file);
+  platform_filename = xbt_strdup(file);
 
   // Reset callbacks
   surf_parse_reset_callbacks();