Subject: CVS commit: src/sbin/scan_ffs
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 02/16/2007 01:32:21
Module Name:	src
Committed By:	xtraeme
Date:		Fri Feb 16 01:32:21 UTC 2007

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

Log Message:
* There's no need to use an int to store the returned value of
  ffs_checkver() and later use it in the switch statement, just
  use ffs_checkver.
* Remove unneded <sys/queue.h> header.
* Remove LFS from fstypes, it was never used.
* Increase SBCOUNT to 128, works faster.
* Remove unneded casts.
* (-F mode) close fd when the scan has finished or if pread() failed.
* (-F mode) print total size of file.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sbin/scan_ffs/scan_ffs.c

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