Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
unnecessary loop for the reset of the simcall args
[simgrid.git] / src / xbt / backtrace_linux.c
index 04a26c714f7c6c7f39d2d341ed518e4bf5bbcf07..d7e6d4929278f4d7401dc317c04974665ea1190f 100644 (file)
@@ -80,7 +80,8 @@ void xbt_backtrace_current(xbt_ex_t * e)
   e->used = backtrace((void **) e->bt, XBT_BACKTRACE_SIZE);
   if (e->used == 0) {
     fprintf(stderr, "The backtrace() function failed, which probably means that the memory is exhausted. Here is a crude dump of the exception that I was trying to build:");
-    fprintf(stderr, "%s:%s(%d) [%s:%d] %s", e->host,e->procname,e->pid, e->file,e->line,e->msg);
+    fprintf(stderr, "%s(%d) [%s:%d] %s",
+            e->procname, e->pid, e->file, e->line, e->msg);
     fprintf(stderr, "Bailing out now since there is nothing I can do without a decent amount of memory. Please go fix the memleaks\n");
     exit(1);
   }