Kent Overstreet bbc77aa7fb 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>
2013-06-26 17:06:33 -07:00
..
2013-04-30 19:14:40 -07:00
2013-03-23 16:11:31 -07:00
2013-04-30 19:14:40 -07:00
2013-03-23 16:11:31 -07:00
2013-03-25 19:36:39 -06:00
2013-03-25 13:06:13 -06:00
2013-03-23 16:11:31 -07:00
2013-04-08 13:33:48 -07:00
2013-03-23 16:11:31 -07:00
2013-05-15 00:42:51 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 16:11:31 -07:00
2013-04-08 13:33:49 -07:00