From a1f3e47ec460b5a77b46f15ddfda918ac1b50e80 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Thu, 21 Aug 2014 18:11:24 +0200 Subject: [PATCH] Turbostat: specify parse_int_file format --- src/turbostat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2