crm_action_debug_3( print_resource("Added", child_rsc, FALSE));
print_resource(LOG_DEBUG_3, "Added", child_rsc, FALSE);
create_child_clone(resource_t *rsc, int sub_id, pe_working_set_t *data_set) {	resource_t *child_rsc = NULL;	crm_data_t * child_copy = NULL;	clone_variant_data_t *clone_data = NULL;	get_clone_variant_data(clone_data, rsc);	CRM_DEV_ASSERT(clone_data->xml_obj_child != NULL);	child_copy = copy_xml(clone_data->xml_obj_child);	set_id(child_copy, rsc->id, sub_id);		if(common_unpack(child_copy, &child_rsc,			 clone_data->self->parameters, data_set)) {		char *inc_num = crm_itoa(sub_id);		char *inc_max = crm_itoa(clone_data->clone_max);				crm_debug("Setting clone attributes for: %s", child_rsc->id);		clone_data->child_list = g_list_append(			clone_data->child_list, child_rsc);		child_rsc->parent = rsc;		add_rsc_param(			child_rsc, XML_RSC_ATTR_INCARNATION, inc_num);		add_rsc_param(			child_rsc, XML_RSC_ATTR_INCARNATION_MAX, inc_max);				crm_action_debug_3(			print_resource("Added", child_rsc, FALSE));				crm_free(inc_num);		crm_free(inc_max);			} else {		pe_err("Failed unpacking resource %s",		       crm_element_value(child_copy, XML_ATTR_ID));		return FALSE;	}		return TRUE;}