Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
xbt_os_procname and xbt_binary_name are the same -- keep only one of them
[simgrid.git] / src / xbt / backtrace_linux.c
index e9dbed5..898069a 100644 (file)
@@ -116,7 +116,7 @@ void xbt_ex_setup_backtrace(xbt_ex_t * e) //FIXME: This code could be greatly im
 
   e->bt_strings = NULL;
 
-  if (!xbt_binary_name) /* no binary name, nothing to do */
+  if (xbt_binary_name != NULL) /* no binary name, nothing to do */
     return;
 
   if (e->used <= 1)