X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3c7b741ce2f591d3f8ebfd44aaa136d99e06fae8..1ecbb4c88462e9ec9be0c830a257da6e9b774a25:/examples/msg/sendrecv/sendrecv.c diff --git a/examples/msg/sendrecv/sendrecv.c b/examples/msg/sendrecv/sendrecv.c index 97f162d644..cd5ea884ea 100644 --- a/examples/msg/sendrecv/sendrecv.c +++ b/examples/msg/sendrecv/sendrecv.c @@ -102,7 +102,7 @@ int receiver(int argc, char *argv[]) XBT_INFO("Communic. time %le", communication_time); XBT_INFO("--- la %f ----", communication_time); } else { - xbt_assert0(0, "Unexpected behavior"); + xbt_die("Unexpected behavior"); } @@ -119,7 +119,7 @@ int receiver(int argc, char *argv[]) XBT_INFO("Communic. time %le", communication_time); XBT_INFO("--- bw %f ----", task_comm_size_bw / communication_time); } else { - xbt_assert0(0, "Unexpected behavior"); + xbt_die("Unexpected behavior"); }