From: Marion Guthmuller Date: Wed, 6 Jun 2012 16:27:39 +0000 (+0200) Subject: typos in message of backtrace display (where malloced -> was malloced) X-Git-Tag: v3_8~647 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d2ef882f0df05a18a9e92abce9caa7ca25b8b9f8 typos in message of backtrace display (where malloced -> was malloced) --- diff --git a/src/xbt/mmalloc/mm_diff.c b/src/xbt/mmalloc/mm_diff.c index 566e7d90fb..63b24c3eb6 100644 --- a/src/xbt/mmalloc/mm_diff.c +++ b/src/xbt/mmalloc/mm_diff.c @@ -45,7 +45,7 @@ void mmalloc_backtrace_display(xbt_mheap_t mdp, void *ptr){ } else { int i; - fprintf(stderr, "Backtrace of where the block %p where malloced (%d frames):\n",ptr,e.used); + fprintf(stderr, "Backtrace of where the block %p was malloced (%d frames):\n",ptr,e.used); for (i = 0; i < e.used; i++) /* no need to display "xbt_backtrace_display" */{ fprintf(stderr,"%d",i);fflush(NULL); fprintf(stderr, "---> %s\n", e.bt_strings[i] + 4); @@ -81,7 +81,7 @@ void mmalloc_backtrace_block_display(xbt_mheap_t mdp, size_t block){ } else { int i; - fprintf(stderr, "Backtrace of where the block %zu where malloced (%d frames):\n", block ,e.used); + fprintf(stderr, "Backtrace of where the block %zu was malloced (%d frames):\n", block ,e.used); for (i = 0; i < e.used; i++) /* no need to display "xbt_backtrace_display" */{ fprintf(stderr,"%d",i);fflush(NULL); fprintf(stderr, "---> %s\n", e.bt_strings[i] + 4); @@ -104,7 +104,7 @@ void mmalloc_backtrace_fragment_display(xbt_mheap_t mdp, size_t block, size_t fr } else { int i; - fprintf(stderr, "Backtrace of where the fragment %zu in block %zu where malloced (%d frames):\n", frag, block ,e.used); + fprintf(stderr, "Backtrace of where the fragment %zu in block %zu was malloced (%d frames):\n", frag, block ,e.used); for (i = 0; i < e.used; i++) /* no need to display "xbt_backtrace_display" */{ fprintf(stderr,"%d",i);fflush(NULL); fprintf(stderr, "---> %s\n", e.bt_strings[i] + 4);