Code

write_sensu: pass literal string to ERROR() macro
authorMarc Fournier <marc.fournier@camptocamp.com>
Sun, 12 Apr 2015 20:01:39 +0000 (22:01 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 12 Apr 2015 20:01:39 +0000 (22:01 +0200)
commit70df26d1edc6cceba9a4d25d1678aa6c812eb47f
tree973ea914f7fbe9c6e8cf406a64d2b0272996d9fb
parentdc7e14787cc4273927d5d0cdbd00fd41a0bee928
write_sensu: pass literal string to ERROR() macro

This allows building with gcc's `-Werror=format-security` flag, which is
enforced when building debian packages.

See https://wiki.debian.org/Hardening
src/write_sensu.c