Date: Sun, 11 Apr 2021 14:25:40 -0000 (UTC)
From: [email protected] (Michael van Elst)
Message-ID: <[email protected]>
| + dg->dg_secperunit = vnd->sc_size / DEV_BSIZE;
While it shouldn't make any difference for any properly created image
file, make it be
(vnd->sc_size + DEV_BSIZE - 1) / DEV_BSIZE;
so that any trailing partial sector remains in the image.
kre
