From: suter Date: Tue, 26 Jun 2012 10:22:54 +0000 (+0200) Subject: have to use basename once again to make tesh happy X-Git-Tag: v3_8~459 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1b2426212099a9f0582902f26f9e24884c970d37?hp=6b70e05934867d908bfc8ed9bd11aae00f63d0f2 have to use basename once again to make tesh happy --- 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);