diff options
author | 2018-03-04 19:56:10 +0000 | |
---|---|---|
committer | 2018-03-04 19:56:10 +0000 | |
commit | 1298f28a78a1617c1fa21ad49c4d8449a312f3f5 (patch) | |
tree | 6c713d0f56626b12fc9aa7350c012f1db063c3c5 /lib/libc/stdlib/malloc.c | |
parent | remove unnecessary header (diff) | |
download | wireguard-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/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions