X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fpasswd%2Fgetgrent.c;h=429a3e58a7aa9b72fd533720b7a2571831becb19;hp=4cbe1ebfeaebe970592b327c0e36e643f2e7fa02;hb=d712dd396d7d69686f7001fd986bfc59217b72dd;hpb=8582a6e9f25dd7b87d72961f58008052a4cac473 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); }