summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_async_events.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:37:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:37:45 +0900
commit4fd102c866b92e94340dde50fae2bae3e3f3c644 (patch)
tree845c4c50182f48d53f6c2de8b4ffe563f0606241 /src/lib/evas/canvas/evas_async_events.c
parentb0adec349f085fe6b537ce69cd1b14d1f1277cc2 (diff)
evas - async events fd - check fcntl return
fix CID 1039683
Diffstat (limited to 'src/lib/evas/canvas/evas_async_events.c')
-rw-r--r--src/lib/evas/canvas/evas_async_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_async_events.c b/src/lib/evas/canvas/evas_async_events.c
index 0990ec8..d111eba 100644
--- a/src/lib/evas/canvas/evas_async_events.c
+++ b/src/lib/evas/canvas/evas_async_events.c
@@ -96,7 +96,7 @@ evas_async_events_init(void)
96 _fd_write = filedes[1]; 96 _fd_write = filedes[1];
97 97
98#ifdef HAVE_FCNTL 98#ifdef HAVE_FCNTL
99 fcntl(_fd_read, F_SETFL, O_NONBLOCK); 99 if (fcntl(_fd_read, F_SETFL, O_NONBLOCK) < 0) ERR("Can't set NONBLOCK on async fd");
100#endif 100#endif
101 101
102 eina_spinlock_new(&async_lock); 102 eina_spinlock_new(&async_lock);