Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Adding debug informations.
[simgrid.git] / src / simix / smx_deployment.c
index bdc7a87..e5a9f11 100644 (file)
@@ -1,6 +1,6 @@
 /*     $Id$     */
 
-/* Copyright (c) 2007 Arnaud Legrand, Bruno Donnassolo.
+/* Copyright (c) 2007 Arnaud Legrand, Bruno Donassolo.
    All rights reserved.                                          */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@ static double kill_time = -1.0;
   
 static void parse_process_init(void)
 {
-  parse_host = SIMIX_get_host_by_name(A_surfxml_process_host);
+  parse_host = SIMIX_host_get_by_name(A_surfxml_process_host);
   xbt_assert1(parse_host, "Unknown host %s",A_surfxml_process_host);
   parse_code = SIMIX_get_registered_function(A_surfxml_process_function);
   xbt_assert1(parse_code, "Unknown function %s",A_surfxml_process_function);
@@ -55,7 +55,7 @@ static void parse_process_finalize(void)
     arg->host = parse_host;
     arg->argc = parse_argc;
     arg->argv = parse_argv;
-    arg-> kill_time = kill_time;
+    arg->kill_time = kill_time;
 
     DEBUG3("Process %s(%s) will be started at time %f", arg->name, 
           arg->host->name,start_time);