summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2018-03-04 19:56:10 +0000
committerkrw <krw@openbsd.org>2018-03-04 19:56:10 +0000
commit1298f28a78a1617c1fa21ad49c4d8449a312f3f5 (patch)
tree6c713d0f56626b12fc9aa7350c012f1db063c3c5 /lib/libc
parentremove unnecessary header (diff)
downloadwireguard-openbsd-1298f28a78a1617c1fa21ad49c4d8449a312f3f5.tar.xz
wireguard-openbsd-1298f28a78a1617c1fa21ad49c4d8449a312f3f5.zip
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions