Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Due to recent "improvements" in the smpi mpich rma tests, netbsd timeouts. Avoid...
[simgrid.git] / examples / msg / energy-onoff / energy-onoff.c
index 98562d5a66fbe4627d4e18dcc7e0960eb20b9857..17ae54ad404d9c74e441ff2ad9c11f4699a74976 100644 (file)
@@ -84,7 +84,7 @@ static int onoff(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]);