X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_complain.c;h=69909bb6710b22d6a8a120d11189ee1a6033e7ac;hb=4979d8dcd6f097eb8fd4661086e28accd31ff905;hp=6193614940e34570265cff661c9517f38b349318;hpb=56536633afb68ded68ac7bd012060cb9337fbcc5;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 : */ -