ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/sys/boot/common/disk.c
(Generate patch)

Comparing trunk/sys/boot/common/disk.c (file contents):
Revision 11547 by laffer1, Sun Sep 18 20:24:57 2016 UTC vs.
Revision 11548 by laffer1, Sat Jul 7 21:25:08 2018 UTC

# Line 202 | Line 202 | ptable_print(void *arg, const char *pname, const struc
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,
# Line 325 | Line 325 | opened:
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,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines