forked from enlightenment/efl
ecore-x should print an error when shmget fails
This commit is contained in:
parent
c08990a081
commit
2719d17b17
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue