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
Use new style logging macros.
[simgrid.git]
/
src
/
surf
/
trace_mgr.c
diff --git
a/src/surf/trace_mgr.c
b/src/surf/trace_mgr.c
index
6a4d8bd
..
dea5183
100644
(file)
--- a/
src/surf/trace_mgr.c
+++ b/
src/surf/trace_mgr.c
@@
-46,7
+46,7
@@
tmgr_trace_t tmgr_trace_new_from_string(const char *id, const char *input,
if (trace_list) {
trace = xbt_dict_get_or_null(trace_list, id);
if (trace) {
if (trace_list) {
trace = xbt_dict_get_or_null(trace_list, id);
if (trace) {
-
WARN1
("Ignoring redefinition of trace %s", id);
+
XBT_WARN
("Ignoring redefinition of trace %s", id);
return trace;
}
}
return trace;
}
}
@@
-110,7
+110,7
@@
tmgr_trace_t tmgr_trace_new(const char *filename)
if (trace_list) {
trace = xbt_dict_get_or_null(trace_list, filename);
if (trace) {
if (trace_list) {
trace = xbt_dict_get_or_null(trace_list, filename);
if (trace) {
-
WARN1
("Ignoring redefinition of trace %s", filename);
+
XBT_WARN
("Ignoring redefinition of trace %s", filename);
return trace;
}
}
return trace;
}
}