X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a2d16cd78c8d1a779948aa69d6e396028c788a5e..ebec9c6104a6bbe60b7bf4586baeaf0b88f53505:/examples/c/actor-migrate/actor-migrate.c diff --git a/examples/c/actor-migrate/actor-migrate.c b/examples/c/actor-migrate/actor-migrate.c index ec4e098b19..2b6b68d6f6 100644 --- a/examples/c/actor-migrate/actor-migrate.c +++ b/examples/c/actor-migrate/actor-migrate.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -42,7 +42,7 @@ static void monitor(int argc, char* argv[]) int actor_argc = 3; const char* actor_argv[] = {"worker", "Boivin", "Jacquelin", NULL}; - sg_actor_t actor = sg_actor_create("worker", sg_host_by_name("Fafard"), worker, actor_argc, actor_argv); + sg_actor_t actor = sg_actor_create_("worker", sg_host_by_name("Fafard"), worker, actor_argc, actor_argv); sg_actor_sleep_for(5); @@ -58,7 +58,7 @@ static void monitor(int argc, char* argv[]) int main(int argc, char* argv[]) { simgrid_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 platform.xml\n", argv[0], argv[0]); simgrid_load_platform(argv[1]); /* - Load the platform description */ sg_actor_create("monitor", sg_host_by_name("Boivin"), monitor, 0, NULL);