Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 3 Dec 2010 00:15:07 +0000 (00:15 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 3 Dec 2010 00:15:07 +0000 (00:15 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8965 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/bindings/lua/lua_console.c

index a1188a5..bf71dd7 100644 (file)
@@ -56,7 +56,7 @@ static void create_host(const char *id, double power_peak, double power_sc,
     state_trace = tmgr_trace_new("");
   current_property_set = xbt_dict_new();
   surf_host_create_resource(xbt_strdup(id), power_peak, power_scale,
-                            power_trace, state_initial, state_trace,
+                            power_trace, 0, state_initial, state_trace,
                             current_property_set);
 
 }