From: cherierm Date: Wed, 16 Jul 2008 14:43:32 +0000 (+0000) Subject: Use err_line instead command->context->line to display the last err line. X-Git-Tag: v3.3~221 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/71d120f1da8c860ec8f3b25a67b030bf77bd09c4?hp=15267ff3ab787941c864cc3847c066e77e6a4672 Use err_line instead command->context->line to display the last err line. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5886 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/tools/tesh2/src/unit.c b/tools/tesh2/src/unit.c index 49282e44cc..43ba352e7b 100644 --- a/tools/tesh2/src/unit.c +++ b/tools/tesh2/src/unit.c @@ -164,7 +164,7 @@ unit_start(void* p) if(!include->exit_code && !include->interrupted) INFO1("Include from %s OK",include->fstream->name); else if(include->exit_code) - ERROR3("Include `%s' NOK : (<%s> %s)", include->fstream->name, command->context->line, error_to_string(include->exit_code, include->err_kind)); + ERROR3("Include `%s' NOK : (<%s> %s)", include->fstream->name, include->err_line, error_to_string(include->exit_code, include->err_kind)); else if(include->interrupted && !include->exit_code) INFO1("Include `(%s)' INTR",include->fstream->name); }