print error when ecore-x shm check fails
This commit is contained in:
parent
442dda08c4
commit
5e8e8aec7d
|
@ -117,6 +117,7 @@ _ecore_x_image_shm_check(void)
|
||||||
IPC_CREAT | 0666);
|
IPC_CREAT | 0666);
|
||||||
if (shminfo.shmid == -1)
|
if (shminfo.shmid == -1)
|
||||||
{
|
{
|
||||||
|
ERR("%s", strerror(errno));
|
||||||
XDestroyImage(xim);
|
XDestroyImage(xim);
|
||||||
_ecore_x_image_shm_can = 0;
|
_ecore_x_image_shm_can = 0;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue