projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02b273
)
Turbostat: specify parse_int_file format
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
a003ca8
..
5424a30
100644
(file)
--- 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;