aboutsummaryrefslogtreecommitdiff
path: root/manual/examples
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-22 07:26:55 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-22 07:26:55 +0000
commitb1184fcdb51451aeb473e2a0025b5c5106bc8ea5 (patch)
treee6135837d81be13b5b25d811239893cbe555dced /manual/examples
parentef52edfc6b25c28406e13f6a0d9cc026b1a0e991 (diff)
downloadglibc-b1184fcdb51451aeb473e2a0025b5c5106bc8ea5.zip
glibc-b1184fcdb51451aeb473e2a0025b5c5106bc8ea5.tar.gz
glibc-b1184fcdb51451aeb473e2a0025b5c5106bc8ea5.tar.bz2
Update.
* manual/examples/subopt.c (mount_opts): Add missing terminating entry. Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
Diffstat (limited to 'manual/examples')
-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 df71720..8c04a57 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