Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 07:36:38 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r269225 - stable/10/usr.bin/mkimg
Message-ID:  <201407290736.s6T7acBf013542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Tue Jul 29 07:36:38 2014
New Revision: 269225
URL: http://svnweb.freebsd.org/changeset/base/269225

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

Modified:
  stable/10/usr.bin/mkimg/vhd.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/mkimg/vhd.c
==============================================================================
--- stable/10/usr.bin/mkimg/vhd.c	Tue Jul 29 07:13:03 2014	(r269224)
+++ stable/10/usr.bin/mkimg/vhd.c	Tue Jul 29 07:36:38 2014	(r269225)
@@ -320,6 +320,7 @@ vhd_dyn_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?201407290736.s6T7acBf013542>