core/shadow/fs#343-cannot-determine-your-user-name.patch
2011-10-15 21:48:05 +00:00

12 lines
374 B
Diff

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