From 90bebef5669a9385c706b042d146a31dca2e5d9b Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Fri, 27 Jan 2012 15:24:38 -0800 Subject: No newline or space at end of ALOG format string Change-Id: I0bef580cbc818cb7c87aea23919d26f1446cec32 --- media/libmedia/MediaScannerClient.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'media/libmedia/MediaScannerClient.cpp') diff --git a/media/libmedia/MediaScannerClient.cpp b/media/libmedia/MediaScannerClient.cpp index 9fe1820..cdfd477 100644 --- a/media/libmedia/MediaScannerClient.cpp +++ b/media/libmedia/MediaScannerClient.cpp @@ -142,12 +142,12 @@ void MediaScannerClient::convertValues(uint32_t encoding) UConverter *conv = ucnv_open(enc, &status); if (U_FAILURE(status)) { - ALOGE("could not create UConverter for %s\n", enc); + ALOGE("could not create UConverter for %s", enc); return; } UConverter *utf8Conv = ucnv_open("UTF-8", &status); if (U_FAILURE(status)) { - ALOGE("could not create UConverter for UTF-8\n"); + ALOGE("could not create UConverter for UTF-8"); ucnv_close(conv); return; } @@ -181,7 +181,7 @@ void MediaScannerClient::convertValues(uint32_t encoding) ucnv_convertEx(utf8Conv, conv, &target, target + targetLength, &source, (const char *)dest, NULL, NULL, NULL, NULL, TRUE, TRUE, &status); if (U_FAILURE(status)) { - ALOGE("ucnv_convertEx failed: %d\n", status); + ALOGE("ucnv_convertEx failed: %d", status); mValues->setEntry(i, "???"); } else { // zero terminate -- cgit v1.1