CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2018/03/04 12:56:10
Modified files: sbin/disklabel : editor.c Log message: Add if (D_VENDOR) check to last SUN_CYLCHECK block lacking it. While there move local variable declaration inside the 'if' and eliminate separate SUN_CYLCHECK block containing said local variable declaration. Add check for attempt to resize a partition to 0, and simplify logic a bit by recognizing that this means the number of sectors will always be > 0. ok otto@