Magellan Linux

Annotation of /trunk/shadow/patches/shadow-4.1.4.2-groupmod-username.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1021 - (hide annotations) (download)
Tue Apr 20 18:28:13 2010 UTC (14 years, 1 month ago) by niro
File size: 373 byte(s)
fixes groupmod: Cannot determine your user name.

1 niro 1021 --- src/groupmod.c 2010-01-12 23:36:59.926832965 +0100
2     +++ src/groupmod.c 2010-01-12 23:37:24.704833018 +0100
3     @@ -720,7 +720,7 @@
4     {
5     struct passwd *pampw;
6     pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
7     - if (NULL == pamh) {
8     + if (NULL == pampw) {
9     fprintf (stderr,
10     _("%s: Cannot determine your user name.\n"),
11     Prog);