Fix typos.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
diff --git a/doc/nn_recv.3.txt b/doc/nn_recv.3.txt
index cc8f399..b60b694 100644
--- a/doc/nn_recv.3.txt
+++ b/doc/nn_recv.3.txt
@@ -77,7 +77,7 @@
 Receiving a message into a buffer allocated by _nanomsg_::
 
 The following will get a message from the pipe with a buffer allocated by
-the system. It is large enough to accomodate the entire message. This is a good
+the system. It is large enough to accommodate the entire message. This is a good
 way to get the entire message without truncating if the size of the message is
 unknown. It is the user's responsibility to call linknanomsg:nn_freemsg[3] after
 processing the message.
diff --git a/doc/nn_tcp.7.txt b/doc/nn_tcp.7.txt
index dc06288..bff56c3 100644
--- a/doc/nn_tcp.7.txt
+++ b/doc/nn_tcp.7.txt
@@ -52,7 +52,7 @@
 
 NN_TCP_NODELAY::
     This option, when set to 1, disables Nagle's algorithm. It also disables
-    delaying of TCP acknowledgements. Using this option improves latency at
+    delaying of TCP acknowledgments. Using this option improves latency at
     the expense of throughput. Type of this option is int. Default value is 0.
 
 
diff --git a/src/utils/aio_posix.inc b/src/utils/aio_posix.inc
index 420563f..b6c33f9 100644
--- a/src/utils/aio_posix.inc
+++ b/src/utils/aio_posix.inc
@@ -286,7 +286,7 @@
 #endif
     }
 
-    /*  If applicable, disable delayed acknowledgements to improve latency. */
+    /*  If applicable, disable delayed acknowledgments to improve latency. */
 #if defined TCP_NODELACK
     opt = 1;
     rc = setsockopt (self->s, IPPROTO_TCP, TCP_NODELACK, &opt, sizeof (opt));