aboutsummaryrefslogtreecommitdiff
path: root/libdex/OptInvocation.cpp
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2011-05-25 16:58:39 -0700
committerDan Bornstein <danfuzz@android.com>2011-05-25 17:01:28 -0700
commit614dca3bb487f17ef8ea37a82a22dd6c4abc027e (patch)
tree31925320f524c67fddfcc7c3144fe1e9afd3883d /libdex/OptInvocation.cpp
parent48a2061356d1269fbd04420d9095ca7dd5e54901 (diff)
Conservation of newlines in libdex.
The log facility adds newlines automatically, and the prevailing convention is now to omit them. Change-Id: I14762ea4a7c24eea333f778724a0e4b6b65bae2b
Diffstat (limited to 'libdex/OptInvocation.cpp')
-rw-r--r--libdex/OptInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdex/OptInvocation.cpp b/libdex/OptInvocation.cpp
index df5f8d99f..911e9d5a0 100644
--- a/libdex/OptInvocation.cpp
+++ b/libdex/OptInvocation.cpp
@@ -62,7 +62,7 @@ char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName)
* the leading "./" out, but it'll do.
*/
if (getcwd(absoluteFile, kBufLen) == NULL) {
- LOGE("Can't get CWD while opening jar file\n");
+ LOGE("Can't get CWD while opening jar file");
return NULL;
}
strncat(absoluteFile, "/", kBufLen);
@@ -101,7 +101,7 @@ char* dexOptGenerateCacheFileName(const char* fileName, const char* subFileName)
*/
strncat(nameBuf, absoluteFile, kBufLen);
- LOGV("Cache file for '%s' '%s' is '%s'\n", fileName, subFileName, nameBuf);
+ LOGV("Cache file for '%s' '%s' is '%s'", fileName, subFileName, nameBuf);
return strdup(nameBuf);
}