From 50cc8c5412e804480a10ecdd9546c7b6ad21760e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 4 Apr 2008 11:46:55 +0200 Subject: Subject: [PATCH] [general] Fixed constant strings in data section issue For practical reasons I changed all string literals assumed to be constant to reside in .rodata subsection at end of .text section. Signed-off-by: Carsten Schlote Signed-off-by: Sascha Hauer --- commands/saveenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/saveenv.c') diff --git a/commands/saveenv.c b/commands/saveenv.c index ef195bc13e..e0aef54ae1 100644 --- a/commands/saveenv.c +++ b/commands/saveenv.c @@ -90,7 +90,7 @@ out: return ret; } -static __maybe_unused char cmd_saveenv_help[] = +static const __maybe_unused char cmd_saveenv_help[] = "Usage: saveenv [] []\n" "Save the files in to the persistent storage device .\n" " is normally a block in flash, but could be any other file.\n" -- cgit v1.2.3