Subject: CVS commit: basesrc/usr.sbin/user
To: None <source-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 09/16/2001 21:08:38
Module Name: basesrc
Committed By: hubertf
Date: Sun Sep 16 18:08:38 UTC 2001
Modified Files:
basesrc/usr.sbin/user: user.c
Log Message:
if creategid() fails, don't try to print system error message (use errx()
instead of err()), as all error cases in creategid() are already commented
properly from inside creategid().
This prevents funny errors like:
miyu# groupadd test2
miyu# groupadd test2
groupadd: group `test2' already exists
groupadd: can't add group: problems with /etc/group file: Inappropriate ioctl for device
To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 basesrc/usr.sbin/user/user.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.