From 1b2426212099a9f0582902f26f9e24884c970d37 Mon Sep 17 00:00:00 2001 From: suter Date: Tue, 26 Jun 2012 12:22:54 +0200 Subject: [PATCH 1/1] have to use basename once again to make tesh happy --- src/simdag/sd_daxloader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/simdag/sd_daxloader.c b/src/simdag/sd_daxloader.c index 2bbd2c753f..45137ff25e 100644 --- a/src/simdag/sd_daxloader.c +++ b/src/simdag/sd_daxloader.c @@ -8,6 +8,7 @@ #include "simdag/simdag.h" #include "xbt/misc.h" #include "xbt/log.h" +#include XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sd_daxparse, sd, "Parsing DAX files"); @@ -386,7 +387,7 @@ xbt_dynar_t SD_daxload(const char *filename) if (!acyclic_graph_detail(result)){ XBT_ERROR("The DAX described in %s is not a DAG. It contains a cycle.", - filename); + basename((char*)filename)); xbt_dynar_foreach(result, cpt, file) SD_task_destroy(file); xbt_dynar_free_container(&result); -- 2.20.1