crm_debug("Action %s failed: %s (cde=%d)",
crm_warn("Action %s failed: %s (cde=%d)",
update_results(	crm_data_t *failed, crm_data_t *target, int operation, int return_code){	gboolean   was_error      = FALSE;	const char *error_msg     = NULL;	const char *operation_msg = NULL;	crm_data_t *xml_node       = NULL;		operation_msg = cib_op2string(operation);    	if (return_code != cib_ok) {		error_msg = cib_error2string(return_code);		xml_node = create_xml_node(failed, XML_FAIL_TAG_CIB);		was_error = TRUE;		add_node_copy(xml_node, target);				set_xml_property_copy(			xml_node, XML_FAILCIB_ATTR_ID, ID(target));		set_xml_property_copy(			xml_node, XML_FAILCIB_ATTR_OBJTYPE, TYPE(target));		set_xml_property_copy(			xml_node, XML_FAILCIB_ATTR_OP, operation_msg);			set_xml_property_copy(			xml_node, XML_FAILCIB_ATTR_REASON, error_msg);		crm_debug("Action %s failed: %s (cde=%d)",			  operation_msg, error_msg, return_code);		} else {		crm_debug("CIB %s passed", operation_msg);	}	return was_error;}