summaryrefslogtreecommitdiff
path: root/ev_port.c
diff options
context:
space:
mode:
authorsf-exg <sf-exg>2010-07-31 23:00:11 +0000
committersf-exg <sf-exg>2010-07-31 23:00:11 +0000
commitfb20b22d0fd9c13fdd014ddab007ca8966404b72 (patch)
treee01e7deb2461fb6501abeee8c0805269770db02a /ev_port.c
parent525febc886bb667cc84f59eebdd27c39af9ae73a (diff)
Fix typos.
Diffstat (limited to 'ev_port.c')
-rw-r--r--ev_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev_port.c b/ev_port.c
index 47da929..21c3f65 100644
--- a/ev_port.c
+++ b/ev_port.c
@@ -127,7 +127,7 @@ port_poll (EV_P_ ev_tstamp timeout)
int inline_size
port_init (EV_P_ int flags)
{
- /* Initalize the kernel queue */
+ /* Initialize the kernel queue */
if ((backend_fd = port_create ()) < 0)
return 0;
@@ -137,7 +137,7 @@ port_init (EV_P_ int flags)
backend_modify = port_modify;
backend_poll = port_poll;
- port_eventmax = 64; /* intiial number of events receivable per poll */
+ port_eventmax = 64; /* initial number of events receivable per poll */
port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax);
return EVBACKEND_PORT;