diff options
| author | 2012-01-04 10:13:13 -0800 | |
|---|---|---|
| committer | 2012-01-04 10:13:13 -0800 | |
| commit | 7e2b7472a119151da179e0ef334e6099fd56d311 (patch) | |
| tree | d75ee99e732f634ca5892b52fa869ce520df29c9 /libs/utils/Asset.cpp | |
| parent | a91bc48fbd4a2ca744b4e4a4cfb695375f0aaf1c (diff) | |
| parent | 9d4536835248525f32f1504a3d28d5bbfa0a2910 (diff) | |
Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE"
Diffstat (limited to 'libs/utils/Asset.cpp')
| -rw-r--r-- | libs/utils/Asset.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/Asset.cpp b/libs/utils/Asset.cpp index 7fd2c87314..7c34c6a351 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; } |