summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-03-25 00:30:35 +0000
committerwpaul <wpaul@FreeBSD.org>1995-03-25 00:30:35 +0000
commitd9495709e417b38dcfc8314db6b97425a3545f95 (patch)
tree300d4a5d51eae374b2cf91e0499d90c7fb1e9ad6 /lib
parent2a40c777372022fadaa36ef2eb19dea0ff0b15b6 (diff)
downloadFreeBSD-src-d9495709e417b38dcfc8314db6b97425a3545f95.zip
FreeBSD-src-d9495709e417b38dcfc8314db6b97425a3545f95.tar.gz
Add calls to endgrent() and endnetgrent() to the end of _createcaches().
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getpwent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c
index 7f5d1b2..c7a4539 100644
--- a/lib/libc/gen/getpwent.c
+++ b/lib/libc/gen/getpwent.c
@@ -442,6 +442,8 @@ _createcaches()
}
}
}
+ endgrent();
+ endnetgrent();
}
/*
OpenPOWER on IntegriCloud