diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-05-28 21:53:19 -0700 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-06-26 17:06:33 -0700 |
commit | bbc77aa7fb72e616edcb1b165c293e47c6d4d0cf (patch) | |
tree | d69a958a3bc87f556b75a7330d9699f329d39013 /tools/perf/scripts/python | |
parent | 5c694129c8db6d89c9be109049a16510b2f70f6d (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