core/shadow/fs#343-cannot-determine-your-user-name.patch

12 lines
374 B
Diff
Raw Normal View History

2011-10-16 05:48:05 +08:00
--- 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);