Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use MSG_host_by_name() instead of MSG_get_host_by_name()
[simgrid.git] / teshsuite / msg / host_on_off / host_on_off_wait.c
index 8237bf2..5decb22 100644 (file)
@@ -23,7 +23,7 @@ int master(int argc, char *argv[])
 {
   xbt_ex_t e;
   TRY {
-    msg_host_t jupiter = MSG_get_host_by_name("Jupiter");
+    msg_host_t jupiter = MSG_host_by_name("Jupiter");
     XBT_INFO("Master waiting");
     if(MSG_process_sleep(1)) {
       XBT_ERROR("Unexpected error while sleeping");