mmal_vc_shm: Expand error message

This commit is contained in:
Dave Stevenson
2018-01-25 10:32:35 +00:00
committed by popcornmix
parent 1eeb882dd6
commit ceb18b1b04

View File

@@ -201,8 +201,8 @@ uint8_t *mmal_vc_shm_alloc(uint32_t size)
mem = (uint8_t *)vcsm_lock( vcsm_handle );
if (!mem || !vc_handle)
{
LOG_ERROR("could not allocate %i bytes of shared memory (handle %x)",
(int)size, vcsm_handle);
LOG_ERROR("could not allocate %i bytes of shared memory (handle %x) - mem %p, vc_hdl %08X",
(int)size, vcsm_handle, mem, vc_handle);
if (mem)
vcsm_unlock_hdl(vcsm_handle);
if (vcsm_handle)