- xbt_assert(xbt_dict_is_empty(lib->dict),
- "Lib is not empty, cannot add a level");
- lib->free_f = xbt_realloc(lib->free_f,
- sizeof(void_f_pvoid_t) * (lib->levels + 1));
+ xbt_assert(xbt_dict_is_empty(lib->dict), "Lib is not empty (size: %u), cannot add a level", xbt_dict_size(lib->dict));
+ lib->free_f = xbt_realloc(lib->free_f, sizeof(void_f_pvoid_t) * (lib->levels + 1));