diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-03-13 14:07:50 +0100 |
---|---|---|
committer | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-10-14 18:25:50 +0200 |
commit | 44c83ebd7089825a82545c9cacc4c4e2de81d001 (patch) | |
tree | eae27fae044aedfa92aa31b114836f3b197de850 /apps/errstr.c | |
parent | 83bd048e9dbe5f376b2feaa7f0a6db6d98ef3a47 (diff) | |
download | openssl-44c83ebd7089825a82545c9cacc4c4e2de81d001.tar.gz |
Constify command options
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1694)
Diffstat (limited to 'apps/errstr.c')
-rw-r--r-- | apps/errstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/errstr.c b/apps/errstr.c index 5fda799d14..6bbbe2f6ae 100644 --- a/apps/errstr.c +++ b/apps/errstr.c @@ -20,7 +20,7 @@ typedef enum OPTION_choice { OPT_ERR = -1, OPT_EOF = 0, OPT_HELP } OPTION_CHOICE; -OPTIONS errstr_options[] = { +const OPTIONS errstr_options[] = { {OPT_HELP_STR, 1, '-', "Usage: %s [options] errnum...\n"}, {OPT_HELP_STR, 1, '-', " errnum Error number\n"}, {"help", OPT_HELP, '-', "Display this summary"}, |