Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix build with MSG_USE_DEPRECATED.
[simgrid.git] / src / msg / msg_gos.c
index 3bdc8d8..5b2109a 100644 (file)
@@ -1218,7 +1218,7 @@ MSG_task_put_with_timeout(msg_task_t task, msg_host_t dest,
               && (channel < msg_global->max_channel), "Invalid channel %d",
               channel);
 
-  XBT_DEBUG("MSG_task_put_with_timout: Trying to send a task to '%s'", SIMIX_host_get_name(dest->smx_host));
+  XBT_DEBUG("MSG_task_put_with_timout: Trying to send a task to '%s'", MSG_host_get_name(dest));
   return
       MSG_mailbox_put_with_timeout(MSG_mailbox_get_by_channel
                                    (dest, channel), task, timeout);