summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-05-22 13:04:45 +0000
committerbapt <bapt@FreeBSD.org>2016-05-22 13:04:45 +0000
commit58e5acb1f53954300d0ff55c9c715884ff506085 (patch)
tree36816352262ff34dd40712e5f0fff23eea536f01 /sys/kern/uipc_socket.c
parent4cbec5a8f90ae32305eb7954a2d075867737bd6b (diff)
downloadFreeBSD-src-58e5acb1f53954300d0ff55c9c715884ff506085.zip
FreeBSD-src-58e5acb1f53954300d0ff55c9c715884ff506085.tar.gz
Fix typos in the comments
Submitted by: cipherwraith666@gmail.com (via github)
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r--sys/kern/uipc_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 70cc8fd..6f3296e 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -550,7 +550,7 @@ SYSCTL_INT(_regression, OID_AUTO, sonewconn_earlytest, CTLFLAG_RW,
/*
* When an attempt at a new connection is noted on a socket which accepts
* connections, sonewconn is called. If the connection is possible (subject
- * to space constraints, etc.) then we allocate a new structure, propoerly
+ * to space constraints, etc.) then we allocate a new structure, properly
* linked into the data structure of the original socket, and return this.
* Connstatus may be 0, or SS_ISCONFIRMING, or SS_ISCONNECTED.
*
@@ -1164,7 +1164,7 @@ sosend_dgram(struct socket *so, struct sockaddr *addr, struct uio *uio,
}
/*
* XXX all the SBS_CANTSENDMORE checks previously done could be out
- * of date. We could have received a reset packet in an interrupt or
+ * of date. We could have recived a reset packet in an interrupt or
* maybe we slept while doing page faults in uiomove() etc. We could
* probably recheck again inside the locking protection here, but
* there are probably other places that this also happens. We must
@@ -2711,7 +2711,7 @@ sooptcopyout(struct sockopt *sopt, const void *buf, size_t len)
* that we always tell the user precisely how much we copied, rather
* than something useful like the total amount we had available for
* her. Note that this interface is not idempotent; the entire
- * answer must generated ahead of time.
+ * answer must be generated ahead of time.
*/
valsize = min(len, sopt->sopt_valsize);
sopt->sopt_valsize = valsize;
OpenPOWER on IntegriCloud