summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-05-28 21:53:19 -0700
committerKent Overstreet <koverstreet@google.com>2013-06-26 17:06:33 -0700
commitbbc77aa7fb72e616edcb1b165c293e47c6d4d0cf (patch)
treed69a958a3bc87f556b75a7330d9699f329d39013 /tools/perf/scripts/python
parent5c694129c8db6d89c9be109049a16510b2f70f6d (diff)
bcache: fix a spurious gcc complaint, use scnprintf
An old version of gcc was complaining about using a const int as the size of a stack allocated array. Which should be fine - but using ARRAY_SIZE() is better, anyways. Also, refactor the code to use scnprintf(). Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions