Date: Sun, 4 Apr 2004 01:02:09 +0200 (CEST) From: Lukas Ertl <le@FreeBSD.org> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/growfs Makefile Message-ID: <20040404010004.M9970@leelou.in.tern> In-Reply-To: <20040403225124.GB34949@dhcp01.pn.xcllnt.net> References: <200404032226.i33MQhSf088122@repoman.freebsd.org> <20040403225124.GB34949@dhcp01.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Apr 2004, Marcel Moolenaar wrote: > On Sat, Apr 03, 2004 at 02:26:43PM -0800, Lukas Ertl wrote: > > le 2004/04/03 14:26:43 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/growfs Makefile > > Log: > > Temporarily go back to WARNS=0 until I can figure out what's breaking > > the {powerpc, sparc64, ia64} tinderboxes. > > The problem is in sys/ufs/ffs/fs.h. I think if you change > ((int32_t *)((u_int8_t *)(cgp) + (cgp)->cg_xxx)) > to > ((int32_t *)((uintptr_t)(cgp) + (cgp)->cg_xxx)) > > for the definitions of cg_inosused(), cg_blksfree(), cg_clustersfree() > and cg_clustersum() you should be ok. I haven't tested it... Apart from growfs, the cg_clustersum() macro is used in newfs, fsck_ffs, and dumpfs, AFAICS. They all are compiled with WARNS=2.... cheers, le -- Lukas Ertl http://mailbox.univie.ac.at/~le/ le@FreeBSD.org http://people.freebsd.org/~le/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040404010004.M9970>