File pacemaker-stonith-ng-fencing-device-reappear-after-reenabling.patch of Package pacemaker.14737

commit 4ad87e494d56e18bcaafa058554573f890517eed
Author: Klaus Wenninger <klaus.wenninger@aon.at>
Date:   Fri Jul 21 17:57:48 2017 +0200

    Fix: stonith-ng: make fencing-device reappear properly after reenabling

diff --git a/fencing/main.c b/fencing/main.c
index 360bc25d1..f58ccc7ff 100644
--- a/fencing/main.c
+++ b/fencing/main.c
@@ -781,7 +781,7 @@ update_cib_stonith_devices_v2(const char *event, xmlNode * msg)
             }
             free(mutable);
 
-        } else if(strstr(xpath, "/"XML_CIB_TAG_RESOURCES)) {
+        } else if(strstr(xpath, XML_CIB_TAG_RESOURCES)) {
             shortpath = strrchr(xpath, '/'); CRM_ASSERT(shortpath);
             reason = crm_strdup_printf("%s %s", op, shortpath+1);
             needs_update = TRUE;
openSUSE Build Service is sponsored by