summaryrefslogtreecommitdiff
path: root/libs/utils/Asset.cpp
diff options
context:
space:
mode:
author Jean-Baptiste Queru <jbq@google.com> 2012-01-19 14:46:39 -0800
committer android code review <noreply-gerritcodereview@google.com> 2012-01-19 14:46:40 -0800
commitba7f0d2a03643ce429421b81febf18fd50473070 (patch)
tree7558b2b5d1cb5e2c9c60bd5d52cab21994caa263 /libs/utils/Asset.cpp
parentee4618bc4da65fdabf197874e87d2923904e7acd (diff)
parent1afd5bab4e0eaba8b5bc2ab5c7b556cd602cf2e7 (diff)
Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)"
Diffstat (limited to 'libs/utils/Asset.cpp')
-rw-r--r--libs/utils/Asset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/Asset.cpp b/libs/utils/Asset.cpp
index 7fd2c8731475..7c34c6a35173 100644
--- a/libs/utils/Asset.cpp
+++ b/libs/utils/Asset.cpp
@@ -210,7 +210,7 @@ Asset::~Asset(void)
offset = ftell(fp);
fclose(fp);
if (!scanResult) {
- LOGD("File '%s' is not in gzip format\n", fileName);
+ ALOGD("File '%s' is not in gzip format\n", fileName);
::close(fd);
return NULL;
}
@@ -384,12 +384,12 @@ status_t _FileAsset::openChunk(const char* fileName, int fd, off64_t offset, siz
fileLength = lseek64(fd, 0, SEEK_END);
if (fileLength == (off64_t) -1) {
// probably a bad file descriptor
- LOGD("failed lseek (errno=%d)\n", errno);
+ ALOGD("failed lseek (errno=%d)\n", errno);
return UNKNOWN_ERROR;
}
if ((off64_t) (offset + length) > fileLength) {
- LOGD("start (%ld) + len (%ld) > end (%ld)\n",
+ ALOGD("start (%ld) + len (%ld) > end (%ld)\n",
(long) offset, (long) length, (long) fileLength);
return BAD_INDEX;
}