crm_debug("created hash key: (%s)", hash_key);
crm_devel("created hash key: (%s)", hash_key);
generate_hash_key(const char *crm_msg_reference, const char *sys){	int ref_len = strlen(sys?sys:"none") + strlen(crm_msg_reference) + 2;	char *hash_key = NULL;	crm_malloc(hash_key, sizeof(char)*(ref_len));	if(hash_key != NULL) {		sprintf(hash_key, "%s_%s", sys?sys:"none", crm_msg_reference);		hash_key[ref_len-1] = '\0';		crm_debug("created hash key: (%s)", hash_key);	}	return hash_key;}