--- 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);