Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/util-linux/fdisk_osf.c

    r3232 r3621  
    367367                printf("Reading disklabel of %s at sector %u\n",
    368368                    partname(disk_device, t+1, 0), ss + BSD_LABELSECTOR);
    369             if (xbsd_readlabel(xbsd_part) == 0)
     369            if (xbsd_readlabel(xbsd_part) == 0) {
    370370                if (xbsd_create_disklabel() == 0)
    371371                    return;
    372372                break;
     373            }
    373374        }
    374375    }
     
    855856    d->d_magic = BSD_DISKMAGIC;
    856857
    857     if (strncmp(disk_device, "/dev/sd", 7) == 0)
     858    if (is_prefixed_with(disk_device, "/dev/sd"))
    858859        d->d_type = BSD_DTYPE_SCSI;
    859860    else
Note: See TracChangeset for help on using the changeset viewer.