diff options
| author | 2012-01-19 17:28:18 -0800 | |
|---|---|---|
| committer | 2012-01-19 17:28:18 -0800 | |
| commit | a1e873975704814416ee4d5023bf0740ec195ec0 (patch) | |
| tree | ae84d90174818e7a15741507783414722a159695 /libs/utils/Asset.cpp | |
| parent | d6b5584b67f8a2f3d8ea20d748652673d5761e33 (diff) | |
| parent | 7ae84204c14b4abff70fcc19c3c33de2591df34b (diff) | |
am 7ae84204: am ba7f0d2a: Merge "Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)"
* commit '7ae84204c14b4abff70fcc19c3c33de2591df34b':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)
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 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; } |