Add a bandaid to fix GCC build (on sparc64 et al).

This commit is contained in:
Xin LI 2014-07-15 23:35:06 +00:00
parent e2ade3b6f7
commit a11d210986
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268727

View File

@ -282,6 +282,7 @@ vhd_write(int fd)
blk = 0;
blkcnt = VHD_BLOCK_SIZE / secsz;
error = 0;
nblks = image_get_size();
while (blk < nblks) {
if (!image_data(blk, blkcnt)) {