svn commit: r214958 - stable/8/sbin/growfs
Brian Somers
brian at FreeBSD.org
Sun Nov 7 22:33:56 UTC 2010
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();
More information about the svn-src-stable
mailing list