From: Martin Quinson Date: Sun, 13 Sep 2015 13:47:37 +0000 (+0200) Subject: dont' use basename when not mandatory. Doesn't exist on windows X-Git-Tag: v3_12~222 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/244700130bf34687c5212bc1c6cbc7fc3c8ba281 dont' use basename when not mandatory. Doesn't exist on windows --- diff --git a/src/simdag/sd_daxloader.c b/src/simdag/sd_daxloader.c index 8a8c4c5af9..e48ca55e51 100644 --- a/src/simdag/sd_daxloader.c +++ b/src/simdag/sd_daxloader.c @@ -367,8 +367,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.", - basename((char*)filename)); + XBT_ERROR("The DAX described in %s is not a DAG. It contains a cycle.", filename); xbt_dynar_foreach(result, cpt, file) SD_task_destroy(file); xbt_dynar_free_container(&result);