diff options
Diffstat (limited to 'libpwdgrp/pwd_grp_internal.c')
-rw-r--r-- | libpwdgrp/pwd_grp_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/pwd_grp_internal.c b/libpwdgrp/pwd_grp_internal.c index d55edc349..ffdc85e4e 100644 --- a/libpwdgrp/pwd_grp_internal.c +++ b/libpwdgrp/pwd_grp_internal.c | |||
@@ -32,7 +32,7 @@ int GETXXKEY_R_FUNC(GETXXKEY_R_KEYTYPE key, | |||
32 | 32 | ||
33 | *result = NULL; | 33 | *result = NULL; |
34 | 34 | ||
35 | stream = fopen(GETXXKEY_R_PATHNAME, "r"); | 35 | stream = fopen_for_read(GETXXKEY_R_PATHNAME); |
36 | if (!stream) | 36 | if (!stream) |
37 | return errno; | 37 | return errno; |
38 | while (1) { | 38 | while (1) { |