Subject: CVS commit: src/sbin/cgdconfig
To: None <source-changes@NetBSD.org>
From: Christian Biere <cbiere@netbsd.org>
List: source-changes
Date: 02/06/2007 02:09:19
Module Name:	src
Committed By:	cbiere
Date:		Tue Feb  6 02:09:19 UTC 2007

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

Log Message:
 * 1 -> EXIT_FAILURE.
 * Replaced atoi() with parse_int().
 * Use an enum for ACTION_* instead of #define.
 * Use strdup() or asnprintf() instead of strlcpy() to avoid truncation.
 * pread() returns ssize_t not int.
 * Suppress "unused parameter" warnings.
 * verify_disklabel(): Pass the correct size to disklabel_scan().
 * verify_ffs():
   * Don't indicate success if pread() fails.
   * Check the amount of bytes read.
   * Don't cast buf to (struct fs *), it's not aligned.
 * eliminate_cores(): No need for a temporary variable.


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

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