From: Martin Quinson Date: Sat, 3 Apr 2021 07:09:12 +0000 (+0200) Subject: Cosmetics in an error message X-Git-Tag: v3.28~481 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/beff988eff31e8f497a5f64117382fc2dfffe47f Cosmetics in an error message To ease the grepping of this message in a child project ;) --- diff --git a/src/smpi/internals/smpi_utils.cpp b/src/smpi/internals/smpi_utils.cpp index d280569e5f..788dac5f24 100644 --- a/src/smpi/internals/smpi_utils.cpp +++ b/src/smpi/internals/smpi_utils.cpp @@ -149,7 +149,7 @@ void print_memory_analysis() if (printed >= n) break; if (p.first >= simgrid::smpi::F2C::get_num_default_handles()) { - XBT_WARN("Leak %p of type %s", p.second, boost::core::demangle(typeid(*(p.second)).name()).c_str()); + XBT_WARN("Leaked handle of type %s at %p", boost::core::demangle(typeid(*(p.second)).name()).c_str(), p.second); printed++; } }