cvs commit: src/sbin/growfs Makefile

Marcel Moolenaar marcel at xcllnt.net
Sat Apr 3 14:51:27 PST 2004


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...

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the cvs-src mailing list