summaryrefslogtreecommitdiff
path: root/src/passwd/getgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passwd/getgrent.c')
-rw-r--r--src/passwd/getgrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwd/getgrent.c b/src/passwd/getgrent.c
index 4cbe1ebf..429a3e58 100644
--- a/src/passwd/getgrent.c
+++ b/src/passwd/getgrent.c
@@ -15,7 +15,7 @@ struct group *getgrent()
static char *line, **mem;
static struct group gr;
size_t size=0, nmem=0;
- if (!f) f = fopen("/etc/group", "rb");
+ if (!f) f = fopen("/etc/group", "rbe");
if (!f) return 0;
return __getgrent_a(f, &gr, &line, &size, &mem, &nmem);
}