Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use MSG_host_by_name() instead of MSG_get_host_by_name()
[simgrid.git] / examples / msg / masterslave / masterslave_platfgen.c
index 134fae7..ef94493 100644 (file)
@@ -79,7 +79,7 @@ int master(int argc, char *argv[])
     slaves = xbt_new0(msg_host_t, slaves_count);
 
     for (i = 0; i < argc; i++) {
-      slaves[i] = MSG_get_host_by_name(argv[i]);
+      slaves[i] = MSG_host_by_name(argv[i]);
       if (slaves[i] == NULL) {
         XBT_INFO("Unknown host %s. Stopping Now! ", argv[i]);
         abort();