Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make it build again after commit 48404c66fc4d8248308db1d1398cb79a6763077e.
[simgrid.git] / src / instr / jedule / jedule_sd_binding.c
index a58226e..f774263 100644 (file)
@@ -38,7 +38,7 @@ void jedule_log_sd_event(SD_task_t task) {
   host_list = xbt_dynar_new(sizeof(char*), NULL);
 
   for(i=0; i<task->workstation_nb; i++) {
-    char *hostname = (char*)surf_resource_name(task->workstation_list[i]->surf_workstation);
+    char *hostname = sg_host_name(task->workstation_list[i]);
     xbt_dynar_push(host_list, &hostname);
   }