X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1c2448da9bd6e99d15c5920d0d8d4b292347dae9..a11846627b7e46427494b079e4124a1e8a10e288:/src/xbt/ex.c diff --git a/src/xbt/ex.c b/src/xbt/ex.c index d853cf56dd..b90fc8d331 100644 --- a/src/xbt/ex.c +++ b/src/xbt/ex.c @@ -46,7 +46,6 @@ #include "portable.h" /* execinfo when available */ #include "xbt/ex.h" #include "xbt/str.h" -#include "xbt/module.h" /* xbt_binary_name */ #include "xbt_modinter.h" /* backtrace initialization headers */ #include "xbt/ex_interface.h" @@ -140,7 +139,7 @@ void xbt_ex_display(xbt_ex_t * e) "** SimGrid: UNCAUGHT EXCEPTION received on %s(%d): category: %s; value: %d\n" "** %s\n" "** Thrown by %s()%s\n", - xbt_os_procname(), xbt_getpid(), + xbt_binary_name, xbt_getpid(), xbt_ex_catname(e->category), e->value, e->msg, e->procname, thrower ? thrower : " in this process"); XBT_CRITICAL("%s", e->msg);