소스 검색

Fix Erik's typo.

Manuel Novoa III 21 년 전
부모
커밋
30d4b70168
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libc/pwd_grp/__getpwent_r.c

+ 1 - 1
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 */