diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-10-31 23:50:25 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-10-31 23:50:25 +0000 |
commit | 30d4b70168b2ec90ee26f2da28488299a2252602 (patch) | |
tree | d87653428e3ef94394faceb36ceeebf5528bb9ed /libc/pwd_grp | |
parent | f72338a387fe392186099c20bdd79a904965d799 (diff) |
Fix Erik's typo.
Diffstat (limited to 'libc/pwd_grp')
-rw-r--r-- | libc/pwd_grp/__getpwent_r.c | 2 |
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 */ |