summaryrefslogtreecommitdiff
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
parentef52edfc6b25c28406e13f6a0d9cc026b1a0e991 (diff)
downloadglibc-b1184fcdb51451aeb473e2a0025b5c5106bc8ea5.tar.gz
Update.
* manual/examples/subopt.c (mount_opts): Add missing terminating entry. Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
-rw-r--r--ChangeLog4
-rw-r--r--manual/examples/subopt.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6043ab72df..a8169b0542 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2000-04-22 Ulrich Drepper <drepper@redhat.com>
+ * manual/examples/subopt.c (mount_opts): Add missing terminating
+ entry.
+ Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
+
* assert/assert-perr.c: Include <stdlib.h> for abort prototype.
* libio/ftello.c: Likewise.
* libio/ftello64.c: Likewise.
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