202 |
|
od->sectorsize)); |
203 |
|
strcat(line, "\n"); |
204 |
|
pager_output(line); |
205 |
< |
if (part->type == PART_FREEBSD) { |
205 |
> |
if (part->type == PART_MIDNIGHTBSD) { |
206 |
|
/* Open slice with BSD label */ |
207 |
|
pa->dev->d_offset = part->start; |
208 |
|
table = ptable_open(pa->dev, part->end - part->start + 1, |
325 |
|
* whole MBR slice. |
326 |
|
*/ |
327 |
|
if (partition == -1 && |
328 |
< |
part.type != PART_FREEBSD) |
328 |
> |
part.type != PART_MIDNIGHTBSD) |
329 |
|
goto out; |
330 |
|
/* Try to read BSD label */ |
331 |
|
table = ptable_open(dev, part.end - part.start + 1, |