diff options
author | Steve Block <steveblock@google.com> | 2012-01-08 10:17:53 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-08 11:03:25 +0000 |
commit | 60d056bf2926357260592409dee31374fa8e301b (patch) | |
tree | 9b55c71742bd4961b6f1ca7451798b8afd175648 /modules/gralloc/mapper.cpp | |
parent | f678d4745081038659a72b7c581e00612647f25d (diff) | |
download | hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.zip hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.gz hardware_libhardware-60d056bf2926357260592409dee31374fa8e301b.tar.bz2 |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I0cbe865d464a37365fa3be84948b07e5a0d181d0
Diffstat (limited to 'modules/gralloc/mapper.cpp')
-rw-r--r-- | modules/gralloc/mapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gralloc/mapper.cpp b/modules/gralloc/mapper.cpp index ec333dc..c4096ae 100644 --- a/modules/gralloc/mapper.cpp +++ b/modules/gralloc/mapper.cpp @@ -53,7 +53,7 @@ static int gralloc_map(gralloc_module_t const* module, void* mappedAddress = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fd, 0); if (mappedAddress == MAP_FAILED) { - LOGE("Could not mmap %s", strerror(errno)); + ALOGE("Could not mmap %s", strerror(errno)); return -errno; } hnd->base = intptr_t(mappedAddress) + hnd->offset; @@ -73,7 +73,7 @@ static int gralloc_unmap(gralloc_module_t const* module, size_t size = hnd->size; //ALOGD("unmapping from %p, size=%d", base, size); if (munmap(base, size) < 0) { - LOGE("Could not unmap %s", strerror(errno)); + ALOGE("Could not unmap %s", strerror(errno)); } } hnd->base = 0; |