ecore-x should print an error when shmget fails

This commit is contained in:
Mike Blumenkrantz 2014-05-09 10:15:22 -04:00
parent c08990a081
commit 2719d17b17
1 changed files with 1 additions and 0 deletions

View File

@ -248,6 +248,7 @@ _ecore_x_image_shm_create(Ecore_X_Image *im)
IPC_CREAT | 0666);
if (im->shminfo.shmid == -1)
{
ERR("shmget failed: %s", strerror(errno));
XDestroyImage(im->xim);
im->xim = NULL;
return;