summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-05-09 10:15:22 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-05-09 10:41:59 -0400
commitf16bda07b930ab9c26b4d885c944c4ee0d839171 (patch)
tree5dd6b097ce68554fd07a1c7f10a1eaa894d7fa55
parentad3b4905b4de6deac91306bd48bd2e5477c97bba (diff)
ecore-x should print an error when shmget fails
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_x/xlib/ecore_x_image.c b/src/lib/ecore_x/xlib/ecore_x_image.c
index a496dcfe5d..d77c87210c 100644
--- a/src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/src/lib/ecore_x/xlib/ecore_x_image.c
@@ -248,6 +248,7 @@ _ecore_x_image_shm_create(Ecore_X_Image *im)
248 IPC_CREAT | 0666); 248 IPC_CREAT | 0666);
249 if (im->shminfo.shmid == -1) 249 if (im->shminfo.shmid == -1)
250 { 250 {
251 ERR("shmget failed: %s", strerror(errno));
251 XDestroyImage(im->xim); 252 XDestroyImage(im->xim);
252 im->xim = NULL; 253 im->xim = NULL;
253 return; 254 return;