summaryrefslogtreecommitdiffstats
path: root/plugins/imudp
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-16 08:41:59 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-16 08:41:59 +0200
commitcd118cfcc22ea283c8d0112aeedc3f0d8b42d8a8 (patch)
treea1e52dad4563578b30ba4cc6ca49bc08a09f60ed /plugins/imudp
parente53d91ce666453b114880e0619dd8c4d40072201 (diff)
downloadrsyslog-cd118cfcc22ea283c8d0112aeedc3f0d8b42d8a8.tar.gz
rsyslog-cd118cfcc22ea283c8d0112aeedc3f0d8b42d8a8.tar.xz
rsyslog-cd118cfcc22ea283c8d0112aeedc3f0d8b42d8a8.zip
bugfix: compile problem when system provided only epoll_create()
I introduced that problem yesterday when I improved epoll support.
Diffstat (limited to 'plugins/imudp')
-rw-r--r--plugins/imudp/imudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c
index f8227fa7..269380cf 100644
--- a/plugins/imudp/imudp.c
+++ b/plugins/imudp/imudp.c
@@ -323,7 +323,7 @@ rsRetVal rcvMainLoop(thrdInfo_t *pThrd)
efd = epoll_create1(EPOLL_CLOEXEC);
# else
DBGPRINTF("imudp uses epoll_create()\n");
- efd = epoll_create();
+ efd = epoll_create(NUM_EPOLL_EVENTS);
# endif
if(efd < 0) {
DBGPRINTF("epoll_create1() could not create fd\n");