From: Vincent Brillault Date: Thu, 21 Aug 2014 16:11:24 +0000 (+0200) Subject: Turbostat: specify parse_int_file format X-Git-Tag: collectd-5.5.0~24^2~76 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a1f3e47ec460b5a77b46f15ddfda918ac1b50e80;p=collectd.git Turbostat: specify parse_int_file format --- diff --git a/src/turbostat.c b/src/turbostat.c index a003ca83..5424a305 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -575,7 +575,7 @@ free_all_buffers(void) /* * Parse a file containing a single int. */ -static int +static int __attribute__ ((format(printf,1,2))) parse_int_file(const char *fmt, ...) { va_list args;