HomeFreeBSD

Fix "format not a string literal" warning

Description

Fix "format not a string literal" warning

Under Ubuntu 10.04 the default compiler flags include -Wformat
and -Wformat-security which cause the above warning. In particular,
cases where "%s" was forgotten as part of the format specifier.

https://wiki.ubuntu.com/CompilerFlags

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 9 2010, 4:39 AM
Parents
rG6283f55ea1b9: Support custom build directories and move includes
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8ec8000f95d6: Fix "format not a string literal" warning (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 9 2010, 4:39 AM