X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b816493f2200a91000a2ef2920e2930dce1dc6ab..895fe7fcdb5b1cf9661fcfbc3bcbe7b5518ed302:/examples/deprecated/msg/mc/centralized_mutex.c diff --git a/examples/deprecated/msg/mc/centralized_mutex.c b/examples/deprecated/msg/mc/centralized_mutex.c index 38f9d3ba37..34cc4909e8 100644 --- a/examples/deprecated/msg/mc/centralized_mutex.c +++ b/examples/deprecated/msg/mc/centralized_mutex.c @@ -81,7 +81,7 @@ static int client(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[]) int main(int argc, char *argv[]) { MSG_init(&argc, argv); - MSG_create_environment("../../platforms/small_platform.xml"); + MSG_create_environment(argv[1]); MSG_function_register("coordinator", coordinator); MSG_function_register("client", client); MSG_launch_application("deploy_centralized_mutex.xml");