summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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