commit | af458c478a9f333fa39bdddb9a7aa097a2196b64 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Apr 12 23:12:35 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Apr 12 23:12:35 2016 +0000 |
tree | 7e2eb1197f785ee7e7091de872b7ecfca06c6b5d | |
parent | a4f7dadd389e25d2b5749d1edf65081b3a4e6961 [diff] | |
parent | dc8032396916db58a136d73bf5e587419507db4e [diff] |
Merge "Switch to BoringSSL crypto."
diff --git a/Utils.cpp b/Utils.cpp index e4f473a..a9bddfa 100644 --- a/Utils.cpp +++ b/Utils.cpp
@@ -211,7 +211,7 @@ 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; }