From 9bf72506a091c4acbd8b2dc34e876a01ed3f2bfe Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 20 Jan 2018 11:21:44 -0800 Subject: 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). --- pcap-dbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcap-dbus.c') 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", -- cgit v1.2.3