diff options
author | Rosen, Rami <rami.rosen@intel.com> | 2017-05-21 15:12:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-22 12:14:04 -0400 |
commit | 241c4667fcf3b64f84a892e2b656027d85e73e6b (patch) | |
tree | 9039f9322b3462d580301c7070d6f1d3af0b7567 /net/socket.c | |
parent | acb5d48f0e5284d7813652f8dd1b94bb6021d8db (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.c | 2 |
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); | |||
461 | * @err: pointer to an error code return | 461 | * @err: pointer to an error code return |
462 | * | 462 | * |
463 | * The file handle passed in is locked and the socket it is bound | 463 | * The file handle passed in is locked and the socket it is bound |
464 | * too is returned. If an error occurs the err pointer is overwritten | 464 | * to is returned. If an error occurs the err pointer is overwritten |
465 | * with a negative errno code and NULL is returned. The function checks | 465 | * with a negative errno code and NULL is returned. The function checks |
466 | * for both invalid handles and passing a handle which is not a socket. | 466 | * for both invalid handles and passing a handle which is not a socket. |
467 | * | 467 | * |