123
123
uint32_t size = be32_to_cpu(p->num_blocks);
124
124
uint32_t start = be32_to_cpu(p->first_block);
125
125
uint32_t type = be32_to_cpu(p->type);
127
128
if (size == 0 || type == SGI_TYPE_VOLULME ||
131
if (!blkid_partlist_add_partition(ls, tab, type, start, size))
133
par = blkid_partlist_add_partition(ls, tab, start, size);