X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/20d5d4cbcb5580189461745935712009a7afbce5..9e9c6282dfe55ae4c5b35553d5d68f9dc129181c:/src/mc/mc_global.c?ds=sidebyside diff --git a/src/mc/mc_global.c b/src/mc/mc_global.c index c29198cf41..0dd57b1c95 100644 --- a/src/mc/mc_global.c +++ b/src/mc/mc_global.c @@ -164,7 +164,7 @@ void MC_replay(xbt_fifo_t stack) if(saved_req){ /* because we got a copy of the executed request, we have to fetch the real one, pointed by the request field of the issuer process */ - req = saved_req->issuer->request; + req = &saved_req->issuer->request; /* Debug information */ if(XBT_LOG_ISENABLED(mc_global, xbt_log_priority_debug)){ @@ -260,7 +260,7 @@ void MC_print_statistics(mc_stats_t stats) /************************* Assertion Checking *********************************/ void MC_assert(int prop) { - if (_surf_do_model_check && !prop) { + if (MC_IS_ENABLED && !prop) { INFO0("**************************"); INFO0("*** PROPERTY NOT VALID ***"); INFO0("**************************");