Address const issues in preparation for libcxx rebase.

Change-Id: I5199c1eb4e874fd354beefa1232707949483e88d
gugelfrei
Dan Austin 8 years ago
parent e7af39dc4b
commit 49ab5f9e6d

@ -211,7 +211,7 @@ static status_t readMetadata(const std::string& path, std::string& fsType,
for (auto line : output) {
// Extract values from blkid output, if defined
const char* cline = line.c_str();
char* start = strstr(cline, "TYPE=");
const char* start = strstr(cline, "TYPE=");
if (start != nullptr && sscanf(start + 5, "\"%127[^\"]\"", value) == 1) {
fsType = value;
}

Loading…
Cancel
Save