X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/95cd4e6e0c85be242b34630726a82bf5e8e6be17..b8df87e176f27b25534f27d7e240defa32ca35bc:/teshsuite/msg/energy-consumption/energy-consumption.c diff --git a/teshsuite/msg/energy-consumption/energy-consumption.c b/teshsuite/msg/energy-consumption/energy-consumption.c index 662d7f66cb..82d9f95008 100644 --- a/teshsuite/msg/energy-consumption/energy-consumption.c +++ b/teshsuite/msg/energy-consumption/energy-consumption.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2010, 2013-2015. The SimGrid Team. +/* Copyright (c) 2007-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -68,8 +68,8 @@ static int dvfs(int argc, char* argv[]) int main(int argc, char* argv[]) { - sg_host_energy_plugin_init(); MSG_init(&argc, argv); + MSG_config("plugin", "host_energy"); xbt_assert(argc == 2, "Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);