Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move VM into their namespace, and greatly reduce the amount of sg_host_get_name ...
[simgrid.git] / src / mc / mc_smx.cpp
index 69a1e87..e4c41fa 100644 (file)
@@ -143,7 +143,7 @@ smx_actor_t MC_smx_simcall_get_issuer(s_smx_simcall_t const* req)
 const char* MC_smx_process_get_host_name(smx_actor_t p)
 {
   if (mc_model_checker == nullptr)
-    return sg_host_get_name(p->host);
+    return p->host->cname();
 
   simgrid::mc::Process* process = &mc_model_checker->process();