[ostree] core: Add missing null terminator in option parsing



commit b2429445e47aaafe469aca92422583bcf510b6e3
Author: Colin Walters <walters verbum org>
Date:   Sun Nov 6 16:25:45 2011 -0500

    core: Add missing null terminator in option parsing

 ostree/ot-builtin-compose.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ostree/ot-builtin-compose.c b/ostree/ot-builtin-compose.c
index 831bdb0..0f39af0 100644
--- a/ostree/ot-builtin-compose.c
+++ b/ostree/ot-builtin-compose.c
@@ -30,6 +30,7 @@ static char *compose_metadata_path;
 
 static GOptionEntry options[] = {
   { "out-metadata", 0, 0, G_OPTION_ARG_FILENAME, &compose_metadata_path, "Output a file containing serialized metadata about the compose, in host endianness", "path" },
+  { NULL }
 };
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]