| Index: src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| diff --git a/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c b/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| index 4c3ed80411c89184d055cebfb0050d9fc06d72b3..a54d7bab52a15929e28051145a246237b6127cc9 100644
|
| --- a/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| +++ b/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| @@ -27,6 +27,7 @@ static struct option attribute_options[] = {
|
| {.name = "successful", .has_arg = required_argument, .flag = 0, .val = 's'},
|
| {.name = "tries", .has_arg = required_argument, .flag = 0, .val = 't'},
|
| {.name = "priority", .has_arg = required_argument, .flag = 0, .val = 'p'},
|
| + { /* last element, which should be zero. */ }
|
| };
|
|
|
| /* Extra information than struct option, please update this structure if you
|
| @@ -63,6 +64,7 @@ static struct option_details attribute_options_details[] = {
|
| .validator = InNumberRange,
|
| .valid_range = &range_15_0,
|
| .parsed = &priority},
|
| + { /* last element, which should be zero. */ }
|
| };
|
|
|
| void AttributeHelp() {
|
| @@ -101,8 +103,6 @@ int CgptAttribute(int argc, char *argv[]) {
|
|
|
| if (CheckValid(&drive) != CGPT_OK) return CGPT_FAILED;
|
|
|
| - debug("[OPTION] i:%d b:%d s:%d t:%d p:%d\n", partition, bad, successful, tries, priority); /* FIXME */
|
| -
|
| /* partition is not specified, search for the first Chromeos kernel. */
|
| if (partition == NOT_INITED) {
|
| int i;
|
|
|