Merge "jni: more O_CLOEXECs" am: 0bd511611e

am: 7b51a98e96

Change-Id: I358eab4877418f2c9a09a8b8d8c4c978de0656d7
This commit is contained in:
Nick Kralevich
2019-01-28 21:46:54 -08:00
committed by android-build-merger

View File

@@ -95,7 +95,7 @@ static jlongArray get_long_array(JNIEnv* env, jobject obj, jfieldID field, int s
static int legacyReadNetworkStatsDetail(std::vector<stats_line>* lines,
const std::vector<std::string>& limitIfaces,
int limitTag, int limitUid, const char* path) {
FILE* fp = fopen(path, "r");
FILE* fp = fopen(path, "re");
if (fp == NULL) {
return -1;
}