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_sun.c

    r2725 r3621  
    349349    set_all_unchanged();
    350350    set_changed(0);
     351    check_sun_label();
    351352    get_boot(CREATE_EMPTY_SUN);
    352353}
     
    498499            first = read_int(scround(start), scround(stop)+1,
    499500                     scround(stop), 0, mesg);
    500         if (display_in_cyl_units)
     501        if (display_in_cyl_units) {
    501502            first *= units_per_sector;
    502         else
     503        } else {
    503504            /* Starting sector has to be properly aligned */
    504             first = (first + g_heads * g_sectors - 1) / (g_heads * g_sectors);
     505            first = (first + g_heads * g_sectors - 1) /
     506                (g_heads * g_sectors);
     507            first *= g_heads * g_sectors;
     508        }
    505509        if (n == 2 && first != 0)
    506510            printf("\
Note: See TracChangeset for help on using the changeset viewer.