A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correcting exception message to let user know which category was already created
[simgrid.git]
/
src
/
instr
/
interface.c
diff --git
a/src/instr/interface.c
b/src/instr/interface.c
index
6e13062
..
33a9e10
100644
(file)
--- 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)){
}
//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);
}
pajeCreateContainer(MSG_get_clock(), category, type, parent_category, category);