HomeClusterLabs Projects

Fix: -Wformat-truncation=2: prevent format truncation

Description

Fix: -Wformat-truncation=2: prevent format truncation

Discovered thanks to -Wformat-truncation=2 of GCC7.

Actually, some instances could gain more conservative upper bound on
output size.

Details

Provenance
Jan Pokorný <jpokorny@redhat.com>Authored on Feb 15 2017, 7:08 AM
kgaillotCommitted on Sep 22 2017, 6:26 PM
Parents
rP2425ffaab474: Build: configure: some CFLAGS codependent (Wformat-nonliteral+Wformat)
Branches
Unknown
Tags
Unknown

Event Timeline