X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a17b300fdea88605c926dc42b47c5313ac10aa12..bbf75823fbe657eda9739c3be6c1715c3041f056:/examples/simdag/dot/dot_test.c diff --git a/examples/simdag/dot/dot_test.c b/examples/simdag/dot/dot_test.c index a8bcdb19e5..b94ff9f5d7 100644 --- a/examples/simdag/dot/dot_test.c +++ b/examples/simdag/dot/dot_test.c @@ -12,6 +12,7 @@ #include "xbt/log.h" #include "xbt/ex.h" #include +#include XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example"); @@ -49,8 +50,7 @@ int main(int argc, char **argv) /* load the DOT file */ dot = SD_dotload(argv[2]); if(dot == NULL){ - XBT_INFO("No dot load may be you have a cycle in your graph"); - return -1; + xbt_die("No dot load may be you have a cycle in your graph"); } /* Display all the tasks */