X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_complain.c;h=69909bb6710b22d6a8a120d11189ee1a6033e7ac;hb=c76419c0cf983f1ecd3d36aa236cc4e3f9cff733;hp=6193614940e34570265cff661c9517f38b349318;hpb=f14feb1eddfe5760a64640b98ab7bbc5c493f614;p=collectd.git diff --git a/src/daemon/utils_complain.c b/src/daemon/utils_complain.c index 61936149..69909bb6 100644 --- a/src/daemon/utils_complain.c +++ b/src/daemon/utils_complain.c @@ -27,10 +27,12 @@ **/ #include "collectd.h" + #include "utils_complain.h" #include "plugin.h" /* vcomplain returns 0 if it did not report, 1 else */ +__attribute__ ((format (printf, 3, 0))) static int vcomplain (int level, c_complain_t *c, const char *format, va_list ap) { @@ -102,4 +104,3 @@ void c_do_release (int level, c_complain_t *c, const char *format, ...) } /* c_release */ /* vim: set sw=4 ts=4 tw=78 noexpandtab : */ -