]> AND Public Git Repository - simgrid.git/blobdiff - examples/msg/migration/migration.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use msg_host_t instead of m_host_t.
[simgrid.git] / examples / msg / migration / migration.c
index 4cf0400baf0730853ff1cc4598a6f297e47672ee..fef2e709514ad4653d0dc6d17f43be00377cad1c 100644 (file)
@@ -45,7 +45,7 @@ static int emigrant(int argc, char *argv[])
   xbt_cond_broadcast(cond);
   xbt_mutex_release(mutex);
   MSG_process_suspend(MSG_process_self());
-  m_host_t h = MSG_process_get_host(MSG_process_self());
+  msg_host_t h = MSG_process_get_host(MSG_process_self());
   XBT_INFO("I've been moved on this new host: %s", MSG_host_get_name(h));
   XBT_INFO("Uh, nothing to do here. Stopping now");
   return 0;