forked from enlightenment/efl
eio: fix pointer comparison.
Fix a warning on dragonfly. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
1ad2a2bd52
commit
35bae18e43
|
@ -103,7 +103,7 @@ void eio_monitor_backend_init(void)
|
|||
{
|
||||
int fd;
|
||||
|
||||
if (_kqueue_fd > 0) return; // already initialized
|
||||
if (_kqueue_fd != NULL) return; // already initialized
|
||||
|
||||
fd = kqueue();
|
||||
if (fd < 0) return;
|
||||
|
|
Loading…
Reference in New Issue