X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/62dceedf62ca9df19fd3afee1458e21d9f211c5a..18bed2a370304ae5d5b62bb0c15dc5a7817be780:/examples/c/async-waitany/async-waitany.c diff --git a/examples/c/async-waitany/async-waitany.c b/examples/c/async-waitany/async-waitany.c index 3871f00ec1..d5c0644746 100644 --- a/examples/c/async-waitany/async-waitany.c +++ b/examples/c/async-waitany/async-waitany.c @@ -19,8 +19,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(async_waitany, "Messages specific for this example" static void sender(int argc, char* argv[]) { xbt_assert(argc == 4, "Expecting 3 parameters from the XML deployment file but got %d", argc); - long messages_count = xbt_str_parse_int(argv[1], "Invalid amount of tasks: %s"); - long msg_size = xbt_str_parse_int(argv[2], "Invalid communication size: %s"); + long messages_count = xbt_str_parse_int(argv[1], "Invalid message count: %s"); + long msg_size = xbt_str_parse_int(argv[2], "Invalid message size: %s"); long receivers_count = xbt_str_parse_int(argv[3], "Invalid amount of receivers: %s"); /* Array in which we store all ongoing communications */ @@ -115,7 +115,6 @@ int main(int argc, char* argv[]) simgrid_load_deployment(argv[2]); simgrid_run(); - XBT_INFO("Simulation time %g", simgrid_get_clock()); return 0;