File pacemaker-libfencing-report-node-ID.patch of Package pacemaker.3577

commit e7cfbe87d3c626afd10b5a47191c8e35ddf3330d
Author: Ken Gaillot <kgaillot@redhat.com>
Date:   Mon Aug 29 14:04:23 2016 -0500

    Log: libfencing: report added node ID correctly
    
    %d was used where %s was needed

diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c
index e1eda35..c7f4079 100644
--- a/lib/fencing/st_client.c
+++ b/lib/fencing/st_client.c
@@ -558,7 +558,7 @@ make_args(const char *agent, const char *action, const char *victim, uint32_t vi
         if (victim_nodeid) {
             char nodeid_str[33] = { 0, };
             if (snprintf(nodeid_str, 33, "%u", (unsigned int)victim_nodeid)) {
-                crm_info("For stonith action (%s) for victim %s, adding nodeid (%d) to parameters",
+                crm_info("For stonith action (%s) for victim %s, adding nodeid (%s) to parameters",
                          action, victim, nodeid_str);
                 append_const_arg("nodeid", nodeid_str, &arg_list);
             }
openSUSE Build Service is sponsored by