mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
mmal_vc_shm: Expand error message
This commit is contained in:
committed by
popcornmix
parent
1eeb882dd6
commit
ceb18b1b04
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user