summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorRosen, Rami <rami.rosen@intel.com>2017-05-21 22:12:38 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-22 12:14:04 -0400
commit241c4667fcf3b64f84a892e2b656027d85e73e6b (patch)
tree9039f9322b3462d580301c7070d6f1d3af0b7567 /net/socket.c
parentacb5d48f0e5284d7813652f8dd1b94bb6021d8db (diff)
net: socket: fix a typo in sockfd_lookup().
This patch fixes a typo in sockfd_lookup() in net/socket.c. Signed-off-by: Rami Rosen <rami.rosen@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index cb355a7ef135..8f9dab330d57 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -461,7 +461,7 @@ EXPORT_SYMBOL(sock_from_file);
* @err: pointer to an error code return
*
* The file handle passed in is locked and the socket it is bound
- * too is returned. If an error occurs the err pointer is overwritten
+ * to is returned. If an error occurs the err pointer is overwritten
* with a negative errno code and NULL is returned. The function checks
* for both invalid handles and passing a handle which is not a socket.
*