Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 12/04/2000 11:59:49
Module Name:	basesrc
Committed By:	scw
Date:		Mon Dec  4 09:59:48 UTC 2000

Modified Files:
	basesrc/sbin/newfs: mkfs.c

Log Message:
Fix a bug introduced by 4.4-Lite:
Don't try to subtract the address of "acg.cg_firstfield" from
"acg.cg_nextfreeoff", as it's already relative to the start of "&acg".
This always worked because the result of the subtraction was
always negative, thus could never be > "sblock.fs_cgsize" ...


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 basesrc/sbin/newfs/mkfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.