Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace xbt_die(bprintf(...)) with xbt_die(...).
[simgrid.git] / examples / msg / masterslave / masterslave_failure.c
index 604af18..bd8c4cc 100644 (file)
@@ -124,8 +124,7 @@ int master(int argc, char *argv[])
       MSG_task_destroy(task);
     } else {
       XBT_INFO("Hey ?! What's up ? ");
-      xbt_die(bprintf("Unexpected behavior with '%s': %d", slaves[i]->name,
-                  a));
+      xbt_die("Unexpected behavior with '%s': %d", slaves[i]->name, a);
     }
   }