Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/util-linux/fdisk_sun.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- 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 349 349 set_all_unchanged(); 350 350 set_changed(0); 351 check_sun_label(); 351 352 get_boot(CREATE_EMPTY_SUN); 352 353 } … … 498 499 first = read_int(scround(start), scround(stop)+1, 499 500 scround(stop), 0, mesg); 500 if (display_in_cyl_units) 501 if (display_in_cyl_units) { 501 502 first *= units_per_sector; 502 else503 } else { 503 504 /* 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 } 505 509 if (n == 2 && first != 0) 506 510 printf("\
Note:
See TracChangeset
for help on using the changeset viewer.