Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation when using MSG_USE_DEPRECATED
[simgrid.git] / src / msg / msg_gos.c
index 4c49b23..3582956 100644 (file)
@@ -1033,7 +1033,7 @@ MSG_task_put_with_timeout(m_task_t task, m_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'", dest->name);
+  XBT_DEBUG("MSG_task_put_with_timout: Trying to send a task to '%s'", dest->smx_host->name);
   return
       MSG_mailbox_put_with_timeout(MSG_mailbox_get_by_channel
                                    (dest, channel), task, timeout);