summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-10-31 23:50:25 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-10-31 23:50:25 +0000
commit30d4b70168b2ec90ee26f2da28488299a2252602 (patch)
treed87653428e3ef94394faceb36ceeebf5528bb9ed /libc
parentf72338a387fe392186099c20bdd79a904965d799 (diff)
Fix Erik's typo.
Diffstat (limited to 'libc')
-rw-r--r--libc/pwd_grp/__getpwent_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/pwd_grp/__getpwent_r.c b/libc/pwd_grp/__getpwent_r.c
index 7614b7edf..ae9c187d8 100644
--- a/libc/pwd_grp/__getpwent_r.c
+++ b/libc/pwd_grp/__getpwent_r.c
@@ -47,7 +47,7 @@ int __getpwent_r(struct passwd * passwd, char * line_buff, size_t buflen, int pw
return ERANGE;
}
- if (pw_fd == -1)
+ if (pwd_fd == -1)
setpwent();
/* We use the restart label to handle malformatted lines */