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>
This commit is contained in:
parent
acb5d48f0e
commit
241c4667fc
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue