aboutsummaryrefslogtreecommitdiff
path: root/nss/nss_files/files-initgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nss_files/files-initgroups.c')
-rw-r--r--nss/nss_files/files-initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_files/files-initgroups.c b/nss/nss_files/files-initgroups.c
index 2f88f602e7..3a3b5c1e38 100644
--- a/nss/nss_files/files-initgroups.c
+++ b/nss/nss_files/files-initgroups.c
@@ -30,7 +30,7 @@ _nss_files_initgroups_dyn (const char *user, gid_t group, long int *start,
long int *size, gid_t **groupsp, long int limit,
int *errnop)
{
- FILE *stream = fopen ("/etc/group", "re");
+ FILE *stream = fopen ("/etc/group", "rce");
if (stream == NULL)
{
*errnop = errno;