summaryrefslogtreecommitdiff
path: root/libdex
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-05-26 12:01:03 -0700
committerDan Bornstein <danfuzz@android.com>2011-05-26 12:01:03 -0700
commit6f3c21fb026d9489e5046416bcd5a84fa8e4615b (patch)
treed2079c1e64552546b28f8e371251be2db50f1eb8 /libdex
parent291c84f60853d30e1c0d79dd08c5e5164f588e26 (diff)
downloaddalvik-6f3c21fb026d9489e5046416bcd5a84fa8e4615b.tar.gz
More LOG newline cleanup.
This changes all the places I could find where the log string was on the line after its LOG call. Change-Id: Iac6a9fcc64f46631fb093824ab60237dce1a5241
Diffstat (limited to 'libdex')
-rw-r--r--libdex/DexFile.cpp2
-rw-r--r--libdex/DexSwapVerify.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdex/DexFile.cpp b/libdex/DexFile.cpp
index b38bfca87..4dcc09738 100644
--- a/libdex/DexFile.cpp
+++ b/libdex/DexFile.cpp
@@ -253,7 +253,7 @@ DexClassLookup* dexCreateClassLookup(DexFile* pDexFile)
}
LOGV("Class lookup: classes=%d slots=%d (%d%% occ) alloc=%d"
- " total=%d max=%d\n",
+ " total=%d max=%d",
pDexFile->pHeader->classDefsSize, numEntries,
(100 * pDexFile->pHeader->classDefsSize) / numEntries,
allocSize, totalProbes, maxProbes);
diff --git a/libdex/DexSwapVerify.cpp b/libdex/DexSwapVerify.cpp
index d6937916c..0d028daf5 100644
--- a/libdex/DexSwapVerify.cpp
+++ b/libdex/DexSwapVerify.cpp
@@ -437,7 +437,7 @@ static bool swapMap(CheckState* state, DexMapList* pMap)
*/
if (icount > dataItemsLeft) {
LOGE("Unrealistically many items in the data section: "
- "at least %d\n", dataItemCount + icount);
+ "at least %d", dataItemCount + icount);
return false;
}