diff --git a/maestro/pool_manager_registry.c b/maestro/pool_manager_registry.c index f67db72185d95568360fbe1a799bf52be8221d64..82b6e34458c200add0862b1fc3afca7487d590a2 100644 --- a/maestro/pool_manager_registry.c +++ b/maestro/pool_manager_registry.c @@ -256,9 +256,8 @@ mstro_pc_app_register_pending(mstro_app_id id) WITH_LOCKED_APP_REGISTRY({ /**check there is no other entry before*/ HASH_FIND(hh, g_mstro_pm_app_registry, &id, sizeof(mstro_app_id), elt); - if((elt!=NULL) && (elt->pending)) { - //FIXME should be a warning as we can handle this - ERR("There is alreading a pending entry for app %"PRIappid", should not overwrite \n", id); + if((elt!=NULL) && (elt->pending)) { + WARN("There is alreading a pending entry for app %"PRIappid", should not overwrite \n", id); /*cleanup*/ status = mstro_pm_app_reg__entry_dispose(e); assert(status ==MSTRO_OK);