X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2ad536e710c5936ff8e525e4bbb5e7046f292aac..4d4a8af70cf81e9dbc9e81cbbd76233e99d3c628:/src/xbt/exception.cpp diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index 51e9649d72..e8048f88f0 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -37,7 +37,7 @@ void log_exception(e_xbt_log_priority_t prio, const char* context, std::exceptio auto* with_context = dynamic_cast(&exception); if (with_context != nullptr) { - XBT_LOG(prio, "%s %s by %s/%d: %s", context, name.c_str(), with_context->throw_point().procname_.c_str(), + XBT_LOG(prio, "%s %s by %s/%ld: %s", context, name.c_str(), with_context->throw_point().procname_.c_str(), with_context->throw_point().pid_, exception.what()); // Do we have a backtrace? if (not simgrid::config::get_value("exception/cutpath")) {