summaryrefslogtreecommitdiff
path: root/src/kash/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kash/options.h')
-rw-r--r--src/kash/options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kash/options.h b/src/kash/options.h
index 6e63085..5a2c75b 100644
--- a/src/kash/options.h
+++ b/src/kash/options.h
@@ -57,14 +57,14 @@ struct optent {
/* Those marked [U] are required by posix, but have no effect! */
#ifdef DEBUG
-# define NOPTS 21
-#else
# define NOPTS 20
+#else
+# define NOPTS 19
#endif
#ifdef DEFINE_OPTIONS
# define DEF_OPTS(name, letter, opt_set) {name, letter, opt_set, 0},
-const struct optent ro_optlist[NOPTS] = {
+const struct optent ro_optlist[NOPTS + 1] = {
#else
# define DEF_OPTS(name, letter, opt_set)
#endif