]> granicus.if.org Git - zfs/commit
Fix "format not a string literal" warning
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Sep 2010 04:39:28 +0000 (21:39 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Sep 2010 04:39:28 +0000 (21:39 -0700)
commit8ec8000f95d60daa51f670fd46930a2cec6accae
treea15f19d7a943868636347e0bb5d7369e2b832b57
parent6283f55ea1b91e680386388c17d14b89e344fa8d
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
lib/libnvpair/libnvpair.c