From 9a070eae847df5052fab7692182e078d6c834b44 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 26 Sep 2010 17:41:55 -0400 Subject: ubi-utils: tweak const strings decls Shrink the data size a little by declaring addresses of constant strings instead of pointers to it. Also slip in static & const on long_options missing them. Signed-off-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- ubi-utils/src/ubirename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubi-utils/src/ubirename.c') diff --git a/ubi-utils/src/ubirename.c b/ubi-utils/src/ubirename.c index 295bfc7..070e32e 100644 --- a/ubi-utils/src/ubirename.c +++ b/ubi-utils/src/ubirename.c @@ -33,7 +33,7 @@ #include #include "common.h" -static const char *usage = +static const char usage[] = "Usage: " PROGRAM_NAME " [ |...]\n\n" "Example: " PROGRAM_NAME "/dev/ubi0 A B C D - rename volume A to B, and C to D\n\n" "This utility allows re-naming several volumes in one go atomically.\n" -- cgit v1.2.3