X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0ddad0a8665a95e6f16b6f765efca789459a818d..7641e1b61b13d593d2eb86fc7cbcb6c8bcb89d8d:/src/mc/mc_checkpoint.c diff --git a/src/mc/mc_checkpoint.c b/src/mc/mc_checkpoint.c index f2d404ba14..dc85a3b5d3 100644 --- a/src/mc/mc_checkpoint.c +++ b/src/mc/mc_checkpoint.c @@ -50,7 +50,7 @@ void MC_take_snapshot(mc_snapshot_t snapshot) reg = maps->regions[i]; if ((reg.prot & PROT_WRITE)){ if (maps->regions[i].pathname == NULL){ - if (reg.start_addr == std_heap){ + if (reg.start_addr == std_heap){ // only save the std heap (and not the raw one) MC_snapshot_add_region(snapshot, reg.start_addr, (char*)reg.end_addr - (char*)reg.start_addr); } } else {