Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Host::execute to use *this as a host location, not the this_actor->get_host()
[simgrid.git] / examples / c / energy-exec / energy-exec.c
index 2b04203d8a5f6cd1ba0cbe0680f53e3d56dee777..7820d77bc7940fc47af879937ce5ade4dfd7efd2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2021. The SimGrid Team.
+/* Copyright (c) 2007-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -71,7 +71,7 @@ int main(int argc, char* argv[])
   simgrid_init(&argc, argv);
   sg_cfg_set_string("plugin", "host_energy");
 
-  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]);
   sg_actor_create("dvfs_test", sg_host_by_name("MyHost1"), dvfs, 0, NULL);