diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-06-27 11:27:19 -0700 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-06-29 08:42:38 +0300 |
commit | 6977ec0308678514ea4450e25e9d443a787da12e (patch) | |
tree | 9a9f136a8fd3b72cd6fe3b21d4ca4aebb0ee5704 /serve_image.c | |
parent | 59423eba6af3dbac53a1687e9f3cb31cfaad0680 (diff) |
mtd-tests: io_paral: build error, "variable length strings"
Some compilers will complain about use of strlen() within a static array
size declaration. For this type of string, "sizeof() - 1" is equivalent
and prevents the build error.
Error:
io_paral.c:48:13: error: variably modified 'vol_nodes' at file scope
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'serve_image.c')
0 files changed, 0 insertions, 0 deletions