summaryrefslogtreecommitdiff
path: root/drm/common/ReadWriteUtils.cpp
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2012-01-09 10:13:41 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2012-01-09 10:13:41 -0800
commit08289f55eae5c4127091360e862f78d57ae24c15 (patch)
tree4bc65b61ad79f1a6326aff3d501056a57695fa4b /drm/common/ReadWriteUtils.cpp
parentc0c3025cf2b887b4eb7020c1b7e6f0db69a51aef (diff)
parent3762c311729fe9f3af085c14c5c1fb471d994c03 (diff)
Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE"
Diffstat (limited to 'drm/common/ReadWriteUtils.cpp')
-rw-r--r--drm/common/ReadWriteUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drm/common/ReadWriteUtils.cpp b/drm/common/ReadWriteUtils.cpp
index c16214e2eaff..fd17e98d307a 100644
--- a/drm/common/ReadWriteUtils.cpp
+++ b/drm/common/ReadWriteUtils.cpp
@@ -85,7 +85,7 @@ void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) {
int size = data.size();
if (FAILURE != ftruncate(fd, size)) {
if (size != write(fd, data.string(), size)) {
- LOGE("Failed to write the data to: %s", filePath.string());
+ ALOGE("Failed to write the data to: %s", filePath.string());
}
}
fclose(file);
@@ -101,7 +101,7 @@ void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data)
int size = data.size();
if (size != write(fd, data.string(), size)) {
- LOGE("Failed to write the data to: %s", filePath.string());
+ ALOGE("Failed to write the data to: %s", filePath.string());
}
fclose(file);
}