Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2010 22:33:55 +0000 (UTC)
From:      Brian Somers <brian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r214958 - stable/8/sbin/growfs
Message-ID:  <201011072233.oA7MXtJF089239@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brian
Date: Sun Nov  7 22:33:55 2010
New Revision: 214958
URL: http://svn.freebsd.org/changeset/base/214958

Log:
  MFC r212886 (by marcel): Unbreak the build on strong-aligned
  architectures.

Modified:
  stable/8/sbin/growfs/growfs.c
Directory Properties:
  stable/8/sbin/growfs/   (props changed)

Modified: stable/8/sbin/growfs/growfs.c
==============================================================================
--- stable/8/sbin/growfs/growfs.c	Sun Nov  7 22:28:55 2010	(r214957)
+++ stable/8/sbin/growfs/growfs.c	Sun Nov  7 22:33:55 2010	(r214958)
@@ -452,7 +452,7 @@ initcg(int cylno, time_t utime, int fso,
 		bzero(iobuf, sblock.fs_bsize);
 		for (i = 0; i < sblock.fs_ipg / INOPF(&sblock);
 		     i += sblock.fs_frag) {
-			dp1 = (struct ufs1_dinode *)iobuf;
+			dp1 = (struct ufs1_dinode *)(void *)iobuf;
 #ifdef FSIRAND
 			for (j = 0; j < INOPB(&sblock); j++) {
 				dp1->di_gen = random();



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