On a Monday in 2023, Michal Privoznik wrote:
There's a commit inside of (yet-unreleased) libcap-ng which marks
some
functions as 'warned unused result'. Fedora rawhide already picked up
the commit, but since we are not checking for all retvals we got a build
failure on rawhide.
https://src.fedoraproject.org/rpms/libcap-ng/c/fed9b23c8d0020e07c937a3ac0...
Green pipeline:
https://gitlab.com/MichalPrivoznik/libvirt/-/pipelines/999435445
Michal Prívozník (2):
lxc_container: Check retval of capng_get_caps_process()
virutil: Check retval of capng_apply()
src/lxc/lxc_container.c | 8 +++++++-
src/util/virutil.c | 8 ++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
Please add a separating ':' between "capabilities" and the number,
as we do elsewhere when printing capng's error codes.
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano