summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2004-01-12 13:29:54 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2004-01-12 13:29:54 +0000
commit2734a36f062e39faa372f202e98e2c5cc4bc47b8 (patch)
tree055bda862247e369718764b9d6fe95915c9c34b6 /lib/libc
parentb27ef31d1b99b8810a7f95218c05859f84dffaeb (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getpwent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index 3f7364000995..c7b31630a4f5 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -1125,7 +1125,7 @@ nis_passwd(void *retval, void *mdata, va_list ap)
fin:
if (rv == NS_SUCCESS) {
if (strstr(pwd->pw_passwd, "##") != NULL) {
- rv = nis_adjunct(st->domain, name,
+ rv = nis_adjunct(st->domain, pwd->pw_name,
&buffer[resultlen+1], bufsize-resultlen-1);
if (rv < 0)
goto erange;