error macro.

SVN revision: 37323
This commit is contained in:
Carsten Haitzler 2008-10-29 23:41:55 +00:00
parent a39edb7baa
commit 9f157c260c
2 changed files with 3 additions and 3 deletions

View File

@ -434,14 +434,14 @@ eina_list_init(void)
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();
}

View File

@ -126,7 +126,7 @@ eina_mempool_init(void)
_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);