sizeof (Eina_List), 320);
if (!_eina_list_mp)
{
- fprintf(stderr, "ERROR: Mempool for list cannot be allocated in list init.\n");
+ EINA_ERROR_PERR("ERROR: Mempool for list cannot be allocated in list init.\n");
abort();
}
_eina_list_accounting_mp = eina_mempool_new(choice, "list_accounting", NULL,
sizeof (Eina_List_Accounting), 80);
if (!_eina_list_accounting_mp)
{
- fprintf(stderr, "ERROR: Mempool for list accounting cannot be allocated in list init.\n");
+ EINA_ERROR_PERR("ERROR: Mempool for list accounting cannot be allocated in list init.\n");
abort();
}
_modules = eina_module_list_get(PACKAGE_LIB_DIR "/eina/mp/", 0, NULL, NULL);
if (!_modules)
{
- fprintf(stderr, "ERROR: no mempool modules able to be loaded.\n");
+ EINA_ERROR_PERR("ERROR: no mempool modules able to be loaded.\n");
abort();
}
eina_module_list_load(_modules);