summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-13 18:32:37 -0700
committerMathias Agopian <mathias@google.com>2009-07-13 18:32:37 -0700
commit05eacf533eb90f79f4af43e9cf86cdb3817a00ca (patch)
tree3e1e568487d59eb2bde7ebe5cd82319115486f82 /modules/gralloc
parent82aee243796ad9dd70426550f2eb07d1b7c1f8ff (diff)
downloadhardware_libhardware-05eacf533eb90f79f4af43e9cf86cdb3817a00ca.zip
hardware_libhardware-05eacf533eb90f79f4af43e9cf86cdb3817a00ca.tar.gz
hardware_libhardware-05eacf533eb90f79f4af43e9cf86cdb3817a00ca.tar.bz2
better logs
Diffstat (limited to 'modules/gralloc')
-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 323f5d8..e2caf79 100644
--- a/modules/gralloc/mapper.cpp
+++ b/modules/gralloc/mapper.cpp
@@ -136,7 +136,7 @@ int gralloc_unregister_buffer(gralloc_module_t const* module,
private_handle_t* hnd = (private_handle_t*)handle;
LOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK,
- "handle %p still locked (state=%08x)",
+ "[unregister] handle %p still locked (state=%08x)",
hnd, hnd->lockState);
// never unmap buffers that were created in this process
@@ -160,7 +160,7 @@ int terminateBuffer(gralloc_module_t const* module,
*/
LOGE_IF(hnd->lockState & private_handle_t::LOCK_STATE_READ_MASK,
- "handle %p still locked (state=%08x)",
+ "[terminate] handle %p still locked (state=%08x)",
hnd, hnd->lockState);
if (hnd->lockState & private_handle_t::LOCK_STATE_MAPPED) {