summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-10-12 11:49:18 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-10-12 11:49:18 +0000
commit21b78d18b33d41bc080558678f062a0848b9434b (patch)
tree1e8f2990501ddd9369c1bf0b1dee288138828a14 /legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
parent6193b5e91d4a71e796f16d04b00a1ead189b1ae7 (diff)
* ecore: fix ecore_fb build.
SVN revision: 53303
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
index a92da993c8..b25c28ee86 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
@@ -492,7 +492,7 @@ error_open:
492EAPI void 492EAPI void
493ecore_fb_input_device_close(Ecore_Fb_Input_Device *dev) 493ecore_fb_input_device_close(Ecore_Fb_Input_Device *dev)
494{ 494{
495 if (!fd) return; 495 if (!dev || dev->fd < 0) return;
496 /* close the fd */ 496 /* close the fd */
497 close(dev->fd); 497 close(dev->fd);
498 /* remove the element from the list */ 498 /* remove the element from the list */