discomfitor pushed a commit to branch master.
commit 5e8e8aec7d132f2cd79e1b887f2c4f2d17492fd9
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Aug 7 08:36:22 2013 +0100
print error when ecore-x shm check fails
---
src/lib/ecore_x/xlib/ecore_x_image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/ecore_x/xlib/ecore_x_image.c
b/src/lib/ecore_x/xlib/ecore_x_image.c
index a408f16..d72f38d 100644
--- a/src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/src/lib/ecore_x/xlib/ecore_x_image.c
@@ -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;
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk