print error when ecore-x shm check fails

This commit is contained in:
Mike Blumenkrantz 2013-08-07 08:36:22 +01:00
parent 442dda08c4
commit 5e8e8aec7d
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ _ecore_x_image_shm_check(void)
IPC_CREAT | 0666);
if (shminfo.shmid == -1)
{
ERR("%s", strerror(errno));
XDestroyImage(xim);
_ecore_x_image_shm_can = 0;
return;