summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/mapper.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-08 10:17:53 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:25 +0000
commit60d056bf2926357260592409dee31374fa8e301b (patch)
tree9b55c71742bd4961b6f1ca7451798b8afd175648 /modules/gralloc/mapper.cpp
parentf678d4745081038659a72b7c581e00612647f25d (diff)
downloadhardware_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.cpp4
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;