Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill old $Id$ command dating from CVS
[simgrid.git] / src / gras / Virtu / sg_process.c
index bc39cf2..df308e2 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* process_sg - GRAS process handling on simulator                          */
 
 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
@@ -179,7 +177,7 @@ const char *xbt_procname(void)
     As a hack we check for maestro by looking to the assigned host, if it is
     NULL then we are sure is maestro
   */
-  if (process != NULL && SIMIX_host_self())
+  if (process != NULL && SIMIX_process_get_host(process))
     return SIMIX_process_get_name(process);
 
   return "";