| 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 82600c4f747d2638739335f0aea6b19264ce9351..4c3ed80411c89184d055cebfb0050d9fc06d72b3 100644
|
| --- a/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| +++ b/src/platform/vboot_reference/utility/cgpt/cgpt_attribute.c
|
| @@ -99,6 +99,8 @@ int CgptAttribute(int argc, char *argv[]) {
|
| if (CGPT_OK != OpenDriveInLastArgument(argc, argv, &drive))
|
| return CGPT_FAILED;
|
|
|
| + 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. */
|
|
|