mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 15:07:14 +08:00
12 lines
374 B
Diff
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);
|