summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-01-19 19:01:50 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-01-19 19:01:50 +0000
commitbb38a730ffa1b4fb92dbabf50e83ca81a1bb9ecf (patch)
treede58bd7fbbe9e23960036b9104b116af0e9ba09f /lib/libc
parent99b9edabe63d15bef88d884e0242b23cba9a1702 (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 01f3bcc90fe6..31a88c8f1cfc 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -141,7 +141,7 @@ getpwnam(name)
* are in /etc/master.passwd.
*/
if (rval && _pw_passwd.pw_name[0] == '+') rval = 0;
-#endif
+
if (!_pw_stayopen) {
(void)(_pw_db->close)(_pw_db);
_pw_db = (DB *)NULL;