Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename cluster.xml to cluster_backbone.xml
[simgrid.git] / examples / msg / cloud-masterworker / cloud-masterworker.c
index 07c7556..bcbb01a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2007-2018. 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. */
@@ -6,6 +6,8 @@
 #include "simgrid/msg.h"
 #include "simgrid/plugins/live_migration.h"
 
+#include <stdio.h> /* snprintf */
+
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example");
 
 #define MAXMBOXLEN 64
@@ -178,7 +180,7 @@ int main(int argc, char *argv[])
   MSG_init(&argc, argv);
   MSG_vm_live_migration_plugin_init();
 
-  xbt_assert(argc >1,"Usage: %s example/platforms/cluster.xml\n", argv[0]);
+  xbt_assert(argc >1,"Usage: %s example/platforms/cluster_backbone.xml\n", argv[0]);
 
   /* Load the platform file */
   MSG_create_environment(argv[1]);