Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[smpi] Better implementation of predefined attributes
[simgrid.git] / src / simix / smx_context_sysv.c
index 6144555..cedbd51 100644 (file)
@@ -154,7 +154,7 @@ smx_ctx_sysv_create_context(xbt_main_func_t code, int argc, char **argv,
 
 #ifdef HAVE_MC
   if (MC_is_active() && code) {
-    MC_new_stack_area(context->stack, ((smx_context_t)context)->process,
+    MC_register_stack_area(context->stack, ((smx_context_t)context)->process,
                       &(context->uc), smx_context_usable_stack_size);
   }
 #endif