Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
pacemaker.26126
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-1.1.patch of Package pacemaker.26126
From f70760306b9a1bc3ce47df950d48992d17fdebc2 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 c64541383..78073521a 100644 --- a/lib/fencing/st_client.c +++ b/lib/fencing/st_client.c @@ -2437,7 +2437,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