Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 23:35:06 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268727 - head/usr.bin/mkimg
Message-ID:  <201407152335.s6FNZ6W2079589@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Jul 15 23:35:06 2014
New Revision: 268727
URL: http://svnweb.freebsd.org/changeset/base/268727

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

Modified:
  head/usr.bin/mkimg/vhd.c

Modified: head/usr.bin/mkimg/vhd.c
==============================================================================
--- head/usr.bin/mkimg/vhd.c	Tue Jul 15 23:32:13 2014	(r268726)
+++ head/usr.bin/mkimg/vhd.c	Tue Jul 15 23:35:06 2014	(r268727)
@@ -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)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407152335.s6FNZ6W2079589>