Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.sbin/user




To: source-changes%netbsd.org@localhost

Subject: CVS commit: basesrc/usr.sbin/user

From: Hubert Feyrer <hubertf%netbsd.org@localhost>

Date: Sun, 16 Sep 2001 21:08:38 +0300 (EEST)


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.






Prev by Date: CVS commit: syssrc/sys/dev/usb

Next by Date: CVS commit: basesrc/lib/libc/rpc

Previous by Thread: CVS commit: syssrc/sys/dev/usb

Next by Thread: CVS commit: basesrc/lib/libc/rpc

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index