Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make jedule compilable with all warning flags
[simgrid.git] / src / simdag / sd_daxloader.c
index 8719c53..d06ec7a 100644 (file)
@@ -318,8 +318,8 @@ xbt_dynar_t SD_daxload(const char *filename)
         SD_task_dependency_add(NULL, NULL, root_task, newfile);
         SD_task_dependency_add(NULL, NULL, newfile, depafter->dst);
 #ifdef HAVE_TRACING
-        if (depbefore->src){
-          const char *category = depbefore->src->category;
+        if (depafter->src){
+          const char *category = depafter->src->category;
           if (category){
             TRACE_category (category);
             TRACE_sd_set_task_category (newfile, category);