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/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/timeout.c') diff --git a/commands/timeout.c b/commands/timeout.c index 639f361da1..3fa687c393 100644 --- a/commands/timeout.c +++ b/commands/timeout.c @@ -97,7 +97,7 @@ out: return ret; } -static __maybe_unused char cmd_timeout_help[] = +static const __maybe_unused char cmd_timeout_help[] = "Usage: timeout [OPTION]... \n" "Wait seconds for a timeout. Return 1 if the user intervented\n" "or 0 if a timeout occured\n" -- cgit v1.2.3