encrypted-keys: fix Opt_err/Opt_error = -1
authorMimi Zohar <zohar@linux.ibm.com>
Tue, 18 Dec 2018 12:57:41 +0000 (07:57 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 4 Feb 2019 22:36:01 +0000 (17:36 -0500)
commit107dfa2e56ecdfda654d939cd464893a72086297
tree9450e9e5f5411a1376aa871d26074182869c015d
parent278311e417be60f7caef6fcb12bda4da2711ceff
encrypted-keys: fix Opt_err/Opt_error = -1

Properly start the enumeration associated with match_table_t at zero,
making Opt_err/Opt_error the last enumeration value.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/keys/encrypted-keys/encrypted.c