void *surf_action_new(size_t size, double cost, surf_model_t model,
int failed)
{
- xbt_assert2(size <= action_mallocator_allocated_size,
+ xbt_assert(size <= action_mallocator_allocated_size,
"Cannot create a surf action of size %zu: the mallocator only provides actions of size %d",
size, action_mallocator_allocated_size);