summaryrefslogtreecommitdiff
path: root/drm/common/ReadWriteUtils.cpp
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2012-01-09 23:24:46 +0000
committer Steve Block <steveblock@google.com> 2012-01-09 23:24:46 +0000
commit2e681c1b097883f5c327d3c1c77692ecab498a35 (patch)
tree7dbf619f6a4e81fd615afc51f5a3b8a4441b167a /drm/common/ReadWriteUtils.cpp
parent293fa718102353d7b103f10a7c0f580ba87b3a0f (diff)
parent08289f55eae5c4127091360e862f78d57ae24c15 (diff)
resolved conflicts for merge of 08289f55 to graphics-dev
Change-Id: I2c95cd461e364cbeae7ffbaea7ad5c87713d7df7
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);
}