aboutsummaryrefslogtreecommitdiff
path: root/pcap-dbus.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-20 11:21:44 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-20 11:21:44 -0800
commit9bf72506a091c4acbd8b2dc34e876a01ed3f2bfe (patch)
treee5f6df2b6cb8a7108d4ab3332ae1f6c79f8d0dfe /pcap-dbus.c
parent0f69ec44959452bfa2653361442f07efa3ab927f (diff)
Use the right name for calls to wait for events.
For the epoll mechanism, the call to wait for events is epoll_wait() (and epoll_pwait()); for the kqueue mechanism, the call to wait for events is kevent() (and additional calls in Darwin-based systems).
Diffstat (limited to 'pcap-dbus.c')
-rw-r--r--pcap-dbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap-dbus.c b/pcap-dbus.c
index f179fe61..7f835d1d 100644
--- a/pcap-dbus.c
+++ b/pcap-dbus.c
@@ -148,7 +148,7 @@ dbus_cleanup(pcap_t *handle)
/*
* We don't support non-blocking mode. I'm not sure what we'd
* do to support it and, given that we don't support select()/
- * poll()/epoll()/kqueue watch etc., it probably doesn't
+ * poll()/epoll_wait()/kevent() etc., it probably doesn't
* matter.
*/
static int
@@ -237,8 +237,8 @@ dbus_activate(pcap_t *handle)
#ifndef _WIN32
/*
- * Unfortunately, trying to do a select()/poll()/epoll()/
- * kqueue watch/etc. on a D-Bus connection isn't a simple
+ * Unfortunately, trying to do a select()/poll()/epoll_wait()/
+ * kevent()/etc. on a D-Bus connection isn't a simple
* case of "give me an FD on which to wait".
*
* Apparently, you have to register "add watch", "remove watch",