fprintf(stderr, "%s ", node->details->uname);
fprintf(stdout, "%s\n ", node->details->uname); } else { fprintf(stdout, "resource %s is running on: %s\n", rsc, node->details->uname);
do_find_resource(const char *rsc, crm_data_t *xml_node){	int found = 0;	pe_working_set_t data_set;	resource_t *the_rsc = NULL;		set_working_set_defaults(&data_set);	data_set.input = xml_node;	stage0(&data_set);	the_rsc = pe_find_resource(data_set.resources, rsc);	if(the_rsc == NULL) {		return cib_NOTEXISTS;	}	slist_iter(node, node_t, the_rsc->running_on, lpc,		   crm_debug_3("resource %s is running on: %s",			       rsc, node->details->uname);		   printf("resource %s is running on: %s\n",			       rsc, node->details->uname);		   if(BE_QUIET) {			   fprintf(stderr, "%s ", node->details->uname);		   }		   found++;		);		if(BE_QUIET) {		fprintf(stderr, "\n");	}		if(found == 0) {		printf("resource %s is NOT running\n", rsc);	}						data_set.input = NULL;	cleanup_calculations(&data_set);	return found;}