Signed-off-by: Joe Perches <joe@xxxxxxxxxxx> --- fs/binfmt_flat.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 811384b..d53e0d6 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -382,7 +382,9 @@ failed: void old_reloc(unsigned long rl) { #ifdef DEBUG - char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" }; + static const char * const segment[] = { + "TEXT", "DATA", "BSS", "*UNKNOWN*" + }; #endif flat_v2_reloc_t r; unsigned long *ptr; -- 1.7.3.rc1 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html