crm_warn("Call %s failed (%d): %s",
crm_warn("Call %s failed (%d): %s\n",
void cibadmin_op_callback(	const struct ha_msg *msg, int call_id, int rc, xmlNodePtr output){	char *xml_text = NULL;		crm_info("our callback was invoked");	cl_log_message(msg);	exit_code = rc;	xml_text = dump_xml_formatted(output);	if(safe_str_eq(cib_action, CRM_OP_CIB_ISMASTER)	   && rc == cib_not_master) {		crm_info("Local CIB is _not_ the master instance\n");		fprintf(stderr, "Local CIB is _not_ the master instance\n");			} else if(safe_str_eq(cib_action, CRM_OP_CIB_ISMASTER)		  && rc == cib_ok) {		crm_info("Local CIB _is_ the master instance\n");		fprintf(stderr, "Local CIB _is_ the master instance\n");			} else if(rc != 0) {		crm_warn("Call %s failed (%d): %s",			cib_action, rc, cib_error2string(rc));		fprintf(stderr, "Call %s failed (%d): %s\n",			cib_action, rc, cib_error2string(rc));		fprintf(stdout, "%s\n", xml_text);	} else if(output == NULL) {		crm_info("Call passed");	} else {		crm_info("Call passed");		fprintf(stdout, "%s\n", xml_text);	}	crm_free(xml_text);				if(call_id == request_id) {		g_main_quit(mainloop);	} else {		crm_info("Message was not the response we were looking for (%d vs. %d", call_id, request_id);	}}