]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r306299:
authormarcel <marcel@FreeBSD.org>
Sun, 11 Dec 2016 03:59:37 +0000 (03:59 +0000)
committermarcel <marcel@FreeBSD.org>
Sun, 11 Dec 2016 03:59:37 +0000 (03:59 +0000)
commit33b27aba3b36238c41e0addd8644ee339f569116
treefbe98b5f5b5bc54d9516498e730f4331bb52c21e
parenta3f7633492116879dd46a5b65ae7599c56f7eea7
MFC r306299:

Update local variable 'block' after calling capacity_resize(),
otherwise format_resize(), which is called right after, isn't
getting the current/actual image size. Rather than rounding up,
format_resize() could end up truncating the size and we don't
allow that by design.
usr.bin/mkimg/mkimg.c