Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
basename -> xbt_basename
[simgrid.git] / examples / simdag / sd_fail.c
index 1abaeea..7620ea3 100644 (file)
@@ -20,7 +20,7 @@ int main(int argc, char **argv)
   SD_init(&argc, argv);
 
   /* creation of the environment */
-  SD_create_environment("./faulty_host.xml");
+  SD_create_environment(argv[1]);
  
   /* creation of a single task that will poorly fail when the workstation
    * will stop */