summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNayden Markatchev <nayden@cvs.openbsd.org>2017-11-30 15:24:51 +0000
committerNayden Markatchev <nayden@cvs.openbsd.org>2017-11-30 15:24:51 +0000
commit48861d0e976a237aca65cfd8480a93484d56f28f (patch)
treebea937732db27b4ce452c7778d1ae23b4d8fc8ac
parentd549b5667dddeec0579a48dbabe38ae5cd181c29 (diff)
Fix typos in comments.
OK florian@
-rw-r--r--sys/netinet/tcp_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 56725f20260..7f6a50fe62f 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.160 2017/11/20 10:35:24 mpi Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.161 2017/11/30 15:24:50 nayden Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -557,7 +557,7 @@ tcp_ctloutput(int op, struct socket *so, int level, int optname,
/*
* Attach TCP protocol to socket, allocating
* internet protocol control block, tcp control block,
- * bufer space, and entering LISTEN state if to accept connections.
+ * buffer space, and entering LISTEN state to accept connections.
*/
int
tcp_attach(struct socket *so, int proto)
@@ -645,7 +645,7 @@ tcp_detach(struct socket *so)
ostate = 0;
/*
- * Detache the TCP protocol from the socket.
+ * Detach the TCP protocol from the socket.
* If the protocol state is non-embryonic, then can't
* do this directly: have to initiate a PRU_DISCONNECT,
* which may finish later; embryonic TCB's can just