about summary refs log tree commit diff
path: root/manual/examples/subopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples/subopt.c')
-rw-r--r--manual/examples/subopt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/examples/subopt.c b/manual/examples/subopt.c
index df71720fe9..8c04a57e02 100644
--- a/manual/examples/subopt.c
+++ b/manual/examples/subopt.c
@@ -12,7 +12,8 @@ enum
   RO_OPTION = 0,
   RW_OPTION,
   READ_SIZE_OPTION,
-  WRITE_SIZE_OPTION
+  WRITE_SIZE_OPTION,
+  THE_END
 };
 
 const char *mount_opts[] =
@@ -20,7 +21,8 @@ const char *mount_opts[] =
   [RO_OPTION] = "ro",
   [RW_OPTION] = "rw",
   [READ_SIZE_OPTION] = "rsize",
-  [WRITE_SIZE_OPTION] = "wsize"
+  [WRITE_SIZE_OPTION] = "wsize",
+  [THE_END] = NULL
 };
 
 int