Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use xbt_abort instead of abort.
[simgrid.git] / src / xbt / snprintf.c
index 1e443fb..83c8181 100644 (file)
@@ -1176,7 +1176,7 @@ char *bvprintf(const char *fmt, va_list ap)
     /* Do not want to use xbt_die() here, as it uses the logging
      * infrastucture and may fail to allocate memory too. */
     fprintf(stderr, "bprintf: vasprintf failed. Aborting.\n");
-    abort();
+    xbt_abort();
   }
   return res;
 }