X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f21f35eadfc5d1f43d3e7a4b591711fd7fb9616..b8818dee36b0e77e2b0b3447c10f2440d7f258e4:/examples/msg/energy-consumption/energy-consumption.c diff --git a/examples/msg/energy-consumption/energy-consumption.c b/examples/msg/energy-consumption/energy-consumption.c index f8985ef64c..00231b6855 100644 --- a/examples/msg/energy-consumption/energy-consumption.c +++ b/examples/msg/energy-consumption/energy-consumption.c @@ -68,7 +68,7 @@ static int dvfs(int argc, char *argv[]) int main(int argc, char *argv[]) { - sg_energy_plugin_init(); + sg_host_energy_plugin_init(); MSG_init(&argc, argv); xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);