summaryrefslogtreecommitdiffstats
path: root/cli_classic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli_classic.c')
-rw-r--r--cli_classic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli_classic.c b/cli_classic.c
index 9b9b451..1211989 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -114,8 +114,8 @@ int cli_classic(int argc, char *argv[])
int operation_specified = 0;
int i;
- const char *optstring = "r:Rw:v:nVEfc:m:l:i:p:Lzh";
- static struct option long_options[] = {
+ static const char optstring[] = "r:Rw:v:nVEfc:m:l:i:p:Lzh";
+ static const struct option long_options[] = {
{"read", 1, 0, 'r'},
{"write", 1, 0, 'w'},
{"erase", 0, 0, 'E'},
OpenPOWER on IntegriCloud