Lines 1359-1364
static int GetCreateOptions( option_array_t * options,
Link Here
|
1359 |
|
1359 |
|
1360 |
case SEG_CREATE_OPTION_TYPE_INDEX: |
1360 |
case SEG_CREATE_OPTION_TYPE_INDEX: |
1361 |
if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; |
1361 |
if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; |
|
|
1362 |
else if (strcmp(options->option[i].value.s, EFI_SYSTEM_PARTITION_STRING) == 0) *ptype = efi_system_partition; |
1362 |
break; |
1363 |
break; |
1363 |
|
1364 |
|
1364 |
default: |
1365 |
default: |
Lines 1377-1382
static int GetCreateOptions( option_array_t * options,
Link Here
|
1377 |
} |
1378 |
} |
1378 |
else if (strcmp(options->option[i].name, SEG_CREATE_OPTION_TYPE_NAME) == 0) { |
1379 |
else if (strcmp(options->option[i].name, SEG_CREATE_OPTION_TYPE_NAME) == 0) { |
1379 |
if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; |
1380 |
if (strcmp(options->option[i].value.s, BIOS_BOOT_PARTITION_STRING) == 0) *ptype = bios_boot_partition; |
|
|
1381 |
else if (strcmp(options->option[i].value.s, EFI_SYSTEM_PARTITION_STRING) == 0) *ptype = efi_system_partition; |
1380 |
} |
1382 |
} |
1381 |
|
1383 |
|
1382 |
} |
1384 |
} |