summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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