Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
pacemaker.16898
bsc#1171372-0010-Refactor-libstonithd-make-the-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1171372-0010-Refactor-libstonithd-make-the-assert-message-from-st.patch of Package pacemaker.16898
From 145c0f90526a309976a2f2cbc0e62a86676e71ca Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Sat, 9 May 2020 17:01:52 +0200 Subject: [PATCH 10/11] Refactor: libstonithd: make the assert message from stonith__device_parameter_flags() more clear --- lib/fencing/st_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c index 890221f38..6628aab73 100644 --- a/lib/fencing/st_client.c +++ b/lib/fencing/st_client.c @@ -2637,7 +2637,7 @@ stonith__device_parameter_flags(xmlNode *metadata) int lpc = 0; long long flags = 0; - CRM_CHECK(metadata, return 0); + CRM_CHECK(metadata != NULL, return 0); xpath = xpath_search(metadata, "//parameter"); max = numXpathResults(xpath); -- 2.26.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor