Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(902)

Unified Diff: src/platform/vboot_reference/utility/cgpt/cgpt_repair.c

Issue 2374001: cgpt supports dev and add/delete/modify commands. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
« no previous file with comments | « src/platform/vboot_reference/utility/cgpt/cgpt_options.c ('k') | src/platform/vboot_reference/utility/cgpt/cgpt_show.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698