summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-03-04 19:56:11 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-03-04 19:56:11 +0000
commite65b98a142f78ed32246495f2063b4a885afa357 (patch)
tree6dec77a06cd9340679067a00b8a779e4fd36c02c /sys
parent0465bbefb8e9f89d94140cf05504390b9eed1988 (diff)
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@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions