From: Christian Heinrich Date: Fri, 17 Jun 2016 13:05:37 +0000 (+0200) Subject: [XBT] Remove unused code X-Git-Tag: v3_14~963 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/924b94ede191ef9c844da856e535254c764f4a14?hp=b2b993f82e65ed60e31fd73a1eb615f77900038f [XBT] Remove unused code --- diff --git a/src/xbt/memory_map.cpp b/src/xbt/memory_map.cpp index 9babc54830..0db9b1f962 100644 --- a/src/xbt/memory_map.cpp +++ b/src/xbt/memory_map.cpp @@ -128,8 +128,8 @@ XBT_PRIVATE std::vector get_memory_map(pid_t pid) else if (lfields[1][3] == 's') memreg.flags |= MAP_SHARED; else { - //fprintf(stderr,"%s", line); - xbt_die("Flag was neither 'p' (private) nor 's' (shared). This should have never happened! Instead, the permissions column was set to: %s", lfields[1]); + xbt_die("Flag was neither 'p' (private) nor 's' (shared). This should have never happened! Instead, the permissions column was set to: %s\n" + "This was the whole line that caused the trouble: %s", lfields[1], line); } /* Get the offset value */