X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16f327a31af4a34da3c887299b7a406a4d9584a8..48eccb2c1532e35819830ca56fad7cf89887359f:/examples/msg/exception/exception.c diff --git a/examples/msg/exception/exception.c b/examples/msg/exception/exception.c index 56b06f7862..e505e7595b 100644 --- a/examples/msg/exception/exception.c +++ b/examples/msg/exception/exception.c @@ -108,11 +108,10 @@ int main(int argc, char *argv[]) { msg_error_t res = MSG_OK; MSG_init(&argc, argv); - xbt_assert(argc > 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]); + xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]); MSG_create_environment(argv[1]); MSG_process_create("terrorist", terrorist, NULL, MSG_get_host_by_name("Jacquelin")); - MSG_launch_application(argv[2]); // Launch the simulation res = MSG_main();