summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a9ccb9)
raw | patch | inline | side by side (parent: 1a9ccb9)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 18:18:47 +0000 (20:18 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 18:20:35 +0000 (20:20 +0200) |
client.c:126:21: warning: format string is not a string literal [-Wformat-nonliteral]
status = vprintf (format, ap);
^~~~~~
status = vprintf (format, ap);
^~~~~~
src/libcollectdclient/client.c | patch | blob | history |
index a15e0aacc1c21e363f57b23842b1eab21e9b73d3..4dbee1e8d56d17d2fe38b862b397d61b2aa49a9b 100644 (file)
/*
* Private functions
*/
+__attribute__ ((format (printf, 1, 0)))
static int lcc_tracef(char const *format, ...)
{
va_list ap;