Subject: CVS commit: src/usr.bin/chpass
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 02/21/2007 20:32:10
Module Name:	src
Committed By:	hubertf
Date:		Wed Feb 21 20:32:10 UTC 2007

Modified Files:
	src/usr.bin/chpass: chpass.c

Log Message:
pw_lock(3): ``You should finish writing to and close the file descriptor
returned by pw_lock() before calling pw_mkdb().'' While there, also
close another open file descriptor that's no longer used.

Patch from Slava Semushin <slava.semushin@gmail.com>, tested by me.


To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 src/usr.bin/chpass/chpass.c

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