Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Modify structures to support different sources of avaibility trace
[simgrid.git] / src / surf / surfxml_parseplatf.c
index 4e5a4a770cf189ef1e51d3b95aeb93cd770b3789..9555060ffe3d29a026c4b8d56cc535a9e1666e88 100644 (file)
@@ -75,7 +75,7 @@ static void parse_Etag_trace(void)
 {
   tmgr_trace_t trace;
   if (!trace_file || strcmp(trace_file, "") != 0) {
-    trace = tmgr_trace_new(trace_file);
+    trace = tmgr_trace_new_from_file(trace_file);
   } else if (strcmp(surfxml_pcdata, "") == 0) {
       trace = NULL;
   } else {