X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d7bad17b9b1c8c9475fcf86bfeebc4d5d7d35fb4..2ad536e710c5936ff8e525e4bbb5e7046f292aac:/src/xbt/exception.cpp diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index 5aa9eae501..51e9649d72 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -17,9 +17,9 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_exception, xbt, "Exceptions"); void _xbt_throw(char* message, const char* file, int line, const char* func) { - simgrid::Exception e( - simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::Backtrace(), xbt_procname(), xbt_getpid()), - message ? message : ""); + simgrid::Exception e(simgrid::xbt::ThrowPoint(file, line, func, simgrid::xbt::Backtrace(), sg_actor_self_get_name(), + sg_actor_self_get_pid()), + message ? message : ""); xbt_free(message); throw e; }