File pacemaker-tools-use-proper-variable-in-message-from-crm_resource-g.patch of Package pacemaker.8397
commit b8fbe3f55634e64d333561faed6966843aa4341d
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Mon Nov 13 11:36:18 2017 -0600
Low: tools: use proper variable in message from crm_resource -g
Index: pacemaker-1.1.16+20170320.77ea74d/tools/crm_resource_print.c
===================================================================
--- pacemaker-1.1.16+20170320.77ea74d.orig/tools/crm_resource_print.c
+++ pacemaker-1.1.16+20170320.77ea74d/tools/crm_resource_print.c
@@ -344,7 +344,7 @@ cli_resource_print_attribute(const char
} else if (g_list_length(the_rsc->running_on) > 1) {
CMD_ERR("%s is active on more than one node,"
- " returning the default value for %s", the_rsc->id, crm_str(value));
+ " returning the default value for %s", the_rsc->id, crm_str(attr));
}
params = g_hash_table_new_full(crm_str_hash, g_str_equal,