HomeClusterLabs Projects

Log: libcrmcluster: Drop crm_perror() in election.c

Description

Log: libcrmcluster: Drop crm_perror() in election.c

The only internal callers are in daemons, where writing errors to stderr
isn't really useful. crm_perror() was used more as a convenience wrapper
for logging strerror(errno). Nothing external should really be using
election_vote() and election_count_vote(), which are the callers of
get_uptime().

Ref T172

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Thu, Aug 7, 4:09 PM
Parents
rPe5f1165db848: Log: libcib: Drop crm_perror() in get_shadow_file()
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task