Index: src/platform/vboot_reference/utility/cgpt/cgpt_repair.c |
diff --git a/src/platform/vboot_reference/utility/cgpt/cgpt_repair.c b/src/platform/vboot_reference/utility/cgpt/cgpt_repair.c |
index de5f2e435e1ed20058d7f2105932ca6801c8f508..f75e4a2c626b050ea05dc3ad12b98f48ef4d8574 100644 |
--- a/src/platform/vboot_reference/utility/cgpt/cgpt_repair.c |
+++ b/src/platform/vboot_reference/utility/cgpt/cgpt_repair.c |
@@ -20,6 +20,7 @@ static int help; |
* attribute_comments[] and third parameter of getopt_long() too. */ |
static struct option repair_options[] = { |
{.name = "help", .has_arg = no_argument, .flag = 0, .val = 'h'}, |
+ { /* last element, which should be zero. */ } |
}; |
/* Extra information than struct option, please update this structure if you |
@@ -30,6 +31,7 @@ static struct option_details repair_options_details[] = { |
.validator = AssignTrue, |
.valid_range = 0, |
.parsed = &help}, |
+ { /* last element, which should be zero. */ } |
}; |
void RepairHelp() { |