projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2719d17
)
...also when shmat() fails
author
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 9 May 2014 14:18:29 +0000
(10:18 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Fri, 9 May 2014 14:18:29 +0000
(10:18 -0400)
src/lib/ecore_x/xlib/ecore_x_image.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_x/xlib/ecore_x_image.c
b/src/lib/ecore_x/xlib/ecore_x_image.c
index
d77c872
..
9b629b5
100644
(file)
--- a/
src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/
src/lib/ecore_x/xlib/ecore_x_image.c
@@
-260,6
+260,7
@@
_ecore_x_image_shm_create(Ecore_X_Image *im)
if ((im->xim->data == (char *)-1) ||
(!im->xim->data))
{
+ ERR("shmat failed: %s", strerror(errno));
shmdt(im->shminfo.shmaddr);
shmctl(im->shminfo.shmid, IPC_RMID, 0);
XDestroyImage(im->xim);