diff --git a/legacy/ecore/src/lib/ecore/ecore_alloc.c b/legacy/ecore/src/lib/ecore/ecore_alloc.c index c9e77cdc4b..58aa131ddc 100644 --- a/legacy/ecore/src/lib/ecore/ecore_alloc.c +++ b/legacy/ecore/src/lib/ecore/ecore_alloc.c @@ -102,7 +102,7 @@ ecore_mempool_init(void) mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16); if (!mempool_array[i]->mp) { - if (!strcmp(choice, "pass_through")) + if (!(!strcmp(choice, "pass_through"))) { ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice); choice = "pass_through"; diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c index 68f24ccb32..324d47d100 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c @@ -72,7 +72,7 @@ ecore_con_mempool_init(void) mempool_array[i]->mp = eina_mempool_add(choice, mempool_array[i]->name, NULL, mempool_array[i]->size, 16); if (!mempool_array[i]->mp) { - if (strcmp(choice, "pass_through") != 0) + if (!(!strcmp(choice, "pass_through"))) { ERR("Falling back to pass through ! Previously tried '%s' mempool.", choice); choice = "pass_through";