diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-14 09:24:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-14 09:24:57 +0100 |
commit | 91d4e54a6707fa87298e367fb734fed931310b40 (patch) | |
tree | 49622c0786e4ca9fe1a95441a71d35d2fbd33c30 /plugins | |
parent | 4671cad51221f1cb03822481e46669ffba3c6d95 (diff) | |
download | rsyslog-91d4e54a6707fa87298e367fb734fed931310b40.tar.gz rsyslog-91d4e54a6707fa87298e367fb734fed931310b40.tar.xz rsyslog-91d4e54a6707fa87298e367fb734fed931310b40.zip |
fixed compile problem from epoll_create patch
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imptcp/imptcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c index c4fbab3d..e8cffbb0 100644 --- a/plugins/imptcp/imptcp.c +++ b/plugins/imptcp/imptcp.c @@ -1050,7 +1050,7 @@ CODESTARTwillRun #if defined(EPOLL_CLOEXEC) && defined(HAVE_EPOLL_CREATE1) DBGPRINTF("imptcp uses epoll_create1()\n"); epollfd = epoll_create1(EPOLL_CLOEXEC); - if(epollfd < 0 && errno ENOSYS) + if(epollfd < 0 && errno == ENOSYS) #endif { DBGPRINTF("imptcp uses epoll_create()\n"); |