Subject: CVS commit: src/sbin/badsect
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/21/2004 19:13:59
Module Name:	src
Committed By:	dsl
Date:		Sun Mar 21 19:13:59 UTC 2004

Modified Files:
	src/sbin/badsect: badsect.c

Log Message:
When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sbin/badsect/badsect.c

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