Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Finish the merging of Cristian branch by fixing some of the remaining glitches preven...
[simgrid.git] / src / gras / Virtu / sg_dns.c
index c791b31..09bba46 100644 (file)
@@ -12,8 +12,8 @@
 
 const char *gras_os_myname(void)
 {
-  smx_process_t process = SIMIX_process_self();
-  if ((process != NULL) && (process->simdata))
+  smx_host_t host = SIMIX_host_self();
+  if (host != NULL)
     return SIMIX_host_get_name(SIMIX_host_self());
   else
     return "";