From: schnorr Date: Tue, 13 Apr 2010 15:41:37 +0000 (+0000) Subject: correcting exception message to let user know which category was already created X-Git-Tag: SVN~188 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/de6beb69be41b07b28072a304d6f2bc36b04b665?ds=inline correcting exception message to let user know which category was already created git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7553 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/instr/interface.c b/src/instr/interface.c index 6e13062770..33a9e10dca 100644 --- a/src/instr/interface.c +++ b/src/instr/interface.c @@ -161,7 +161,7 @@ void TRACE_create_category (const char *category, } //check if category is created if (xbt_dict_get_or_null (created_categories, category)){ - THROW1 (tracing_error, TRACE_ERROR_CATEGORY_ALREADY_DEFINED, "Category %s is already created", type); + THROW1 (tracing_error, TRACE_ERROR_CATEGORY_ALREADY_DEFINED, "Category %s is already created", category); } pajeCreateContainer(MSG_get_clock(), category, type, parent_category, category);