From 30d4b70168b2ec90ee26f2da28488299a2252602 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 31 Oct 2003 23:50:25 +0000 Subject: Fix Erik's typo. --- libc/pwd_grp/__getpwent_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/pwd_grp') 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 */ -- cgit v1.2.3