typo fix in a comment in a testcase. oh well...
[oweals/busybox.git] / libpwdgrp / pwd_grp_internal.c
index d55edc349356b7dc4147106b905c0af01d0a32f7..ffdc85e4ee6108ad709db5c37cd7ec9a246f481a 100644 (file)
@@ -32,7 +32,7 @@ int GETXXKEY_R_FUNC(GETXXKEY_R_KEYTYPE key,
 
        *result = NULL;
 
-       stream = fopen(GETXXKEY_R_PATHNAME, "r");
+       stream = fopen_for_read(GETXXKEY_R_PATHNAME);
        if (!stream)
                return errno;
        while (1) {