summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.pod2
-rw-r--r--ev_epoll.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ev.pod b/ev.pod
index 295173f..f3426ab 100644
--- a/ev.pod
+++ b/ev.pod
@@ -167,7 +167,7 @@ library in any way.
Returns the current time as libev would use it. Please note that the
C<ev_now> function is usually faster and also often returns the timestamp
-you actually want to know. Also interetsing is the combination of
+you actually want to know. Also interesting is the combination of
C<ev_update_now> and C<ev_now>.
=item ev_sleep (ev_tstamp interval)
diff --git a/ev_epoll.c b/ev_epoll.c
index 3dfc429..8ad5f51 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -150,7 +150,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
| (ev->events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0);
/* check for spurious notification */
- /* we assume that fd is always in range, as we never shrink the anfds arraay */
+ /* we assume that fd is always in range, as we never shrink the anfds array */
if (expect_false ((uint32_t)anfds [fd].egen != (uint32_t)(ev->data.u64 >> 32)))
{
/* recreate kernel state */