diff options
Diffstat (limited to 'src/passwd/getpw_r.c')
-rw-r--r-- | src/passwd/getpw_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwd/getpw_r.c b/src/passwd/getpw_r.c index 39744959..28552572 100644 --- a/src/passwd/getpw_r.c +++ b/src/passwd/getpw_r.c @@ -13,7 +13,7 @@ static int getpw_r(const char *name, uid_t uid, struct passwd *pw, char *buf, si pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &cs); - f = fopen("/etc/passwd", "rb"); + f = fopen("/etc/passwd", "rbe"); if (!f) { rv = errno; goto done; |