From: Martin Quinson Date: Thu, 20 Apr 2017 12:52:59 +0000 (+0200) Subject: I cannot even use xbt_die correctly anymore, bummer X-Git-Tag: v3.16~330 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a83589a60351b3dcf30b1990323bc7518362f75d I cannot even use xbt_die correctly anymore, bummer --- diff --git a/src/smpi/smpi_global.cpp b/src/smpi/smpi_global.cpp index 3d9c926651..28b374d1c7 100644 --- a/src/smpi/smpi_global.cpp +++ b/src/smpi/smpi_global.cpp @@ -603,7 +603,7 @@ int smpi_main(const char* executable, int argc, char *argv[]) void* handle = dlopen(target_executable.c_str(), RTLD_LAZY | RTLD_LOCAL | RTLD_DEEPBIND); unlink(target_executable.c_str()); if (handle == nullptr) - xbt_die(bprintf("dlopen failed: %s (errno: %d -- %s)", dlerror(), errno, strerror(errno))); + xbt_die("dlopen failed: %s (errno: %d -- %s)", dlerror(), errno, strerror(errno)); smpi_entry_point_type entry_point = smpi_resolve_function(handle); if (!entry_point) xbt_die("Could not resolve entry point");