summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2014-10-28 13:54:26 -0700
committer Brian Carlstrom <bdc@google.com> 2014-10-28 15:55:11 -0700
commit37628b7528e5611088ec046d9c2295e12c1f9b08 (patch)
treeb0411d606a215d3f42a00c8043abb8bdef97b095
parente0205d519dd417f749243b42b8711dfa313e5390 (diff)
Remove double space in messages
Change-Id: I3adcb8a13c8d0468cb700a1195aecfc0fd94dcbb
-rw-r--r--runtime/oat_file.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc
index 4214bdf4a3..54f5eab018 100644
--- a/runtime/oat_file.cc
+++ b/runtime/oat_file.cc
@@ -302,7 +302,7 @@ bool OatFile::Setup(std::string* error_msg) {
oat += sizeof(dex_file_offset);
if (UNLIKELY(oat > End())) {
*error_msg = StringPrintf("In oat file '%s' found OatDexFile #%zd for '%s' truncated "
- " after dex file offsets", GetLocation().c_str(), i,
+ "after dex file offsets", GetLocation().c_str(), i,
dex_file_location.c_str());
return false;
}
@@ -310,13 +310,13 @@ bool OatFile::Setup(std::string* error_msg) {
const uint8_t* dex_file_pointer = Begin() + dex_file_offset;
if (UNLIKELY(!DexFile::IsMagicValid(dex_file_pointer))) {
*error_msg = StringPrintf("In oat file '%s' found OatDexFile #%zd for '%s' with invalid "
- " dex file magic '%s'", GetLocation().c_str(), i,
+ "dex file magic '%s'", GetLocation().c_str(), i,
dex_file_location.c_str(), dex_file_pointer);
return false;
}
if (UNLIKELY(!DexFile::IsVersionValid(dex_file_pointer))) {
*error_msg = StringPrintf("In oat file '%s' found OatDexFile #%zd for '%s' with invalid "
- " dex file version '%s'", GetLocation().c_str(), i,
+ "dex file version '%s'", GetLocation().c_str(), i,
dex_file_location.c_str(), dex_file_pointer);
return false;
}
@@ -326,7 +326,7 @@ bool OatFile::Setup(std::string* error_msg) {
oat += (sizeof(*methods_offsets_pointer) * header->class_defs_size_);
if (UNLIKELY(oat > End())) {
*error_msg = StringPrintf("In oat file '%s' found OatDexFile #%zd for '%s' with truncated "
- " method offsets", GetLocation().c_str(), i,
+ "method offsets", GetLocation().c_str(), i,
dex_file_location.c_str());
return false;
}