evas async events fd - check fcntl return

fix CID 1039684
This commit is contained in:
Carsten Haitzler 2014-08-27 16:39:09 +09:00
parent 4fd102c866
commit 144a92105c
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ _evas_async_events_fd_blocking_set(Eina_Bool blocking)
if (blocking) flags &= ~O_NONBLOCK;
else flags |= O_NONBLOCK;
fcntl(_fd_read, F_SETFL, flags);
if (fcntl(_fd_read, F_SETFL, flags) < 0) ERR("cannot set fd flags");
#else
(void) blocking;
#endif