X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9601b8ae97f9ef29cc571b71fa4a41ab9133a2b..ab69423a2f887cff12fbdf02a74fd367c3591608:/src/instr/instr_msg_task.c diff --git a/src/instr/instr_msg_task.c b/src/instr/instr_msg_task.c index 9796fbcd20..73018afec4 100644 --- a/src/instr/instr_msg_task.c +++ b/src/instr/instr_msg_task.c @@ -54,7 +54,7 @@ void TRACE_msg_set_task_category(m_task_t task, const char *category) msg = newContainer(task->name, INSTR_MSG_TASK, host_container); type_t type = getType (task->category); if (!type){ - type = newVariableType(task->category, TYPE_VARIABLE, NULL, msg->type); + type = getVariableType(task->category, NULL, msg->type); } pajeSetVariable(SIMIX_get_clock(), type->id, msg->id, "1");