eio: fix pointer comparison.

Fix a warning on dragonfly.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Benjamin Jacobs 2016-06-06 11:20:37 -07:00 committed by Cedric BAIL
parent 1ad2a2bd52
commit 35bae18e43
1 changed files with 1 additions and 1 deletions

View File

@ -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;