summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f02b273)
raw | patch | inline | side by side (parent: f02b273)
author | Vincent Brillault <git@lerya.net> | |
Thu, 21 Aug 2014 16:11:24 +0000 (18:11 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 28 Feb 2015 06:35:40 +0000 (07:35 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index a003ca83787b8db1818dca21f68267e77c55da15..5424a30587721b75327869037d81482561f2b1be 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
/*
* 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;