evas - async events fd - check fcntl return

fix CID 1039683
This commit is contained in:
Carsten Haitzler 2014-08-27 16:37:45 +09:00
parent b0adec349f
commit 4fd102c866
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ evas_async_events_init(void)
_fd_write = filedes[1];
#ifdef HAVE_FCNTL
fcntl(_fd_read, F_SETFL, O_NONBLOCK);
if (fcntl(_fd_read, F_SETFL, O_NONBLOCK) < 0) ERR("Can't set NONBLOCK on async fd");
#endif
eina_spinlock_new(&async_lock);