View | Details | Raw Unified | Return to bug 27991
Collapse All | Expand All

(-)a/plugins/gpt/gptsegmgr.c (+2 lines)
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
                }
(-)a/plugins/gpt/options.c (-1 / +1 lines)
Lines 43-48 typedef struct gpt_partition_info_s { Link Here
43
43
44
static const gpt_partition_info_t gpt_partition_info[] =
44
static const gpt_partition_info_t gpt_partition_info[] =
45
{
45
{
46
        { EFI_SYSTEM_PARTITION_STRING, 1},
46
        { BASIC_DATA_PARTITION_STRING, 2},
47
        { BASIC_DATA_PARTITION_STRING, 2},
47
//    {"legacy mbr", 3},
48
//    {"legacy mbr", 3},
48
//    {"swap", 4},
49
//    {"swap", 4},
49
- 

Return to bug 27991