From db3826bf2c9dbe14499403d9b0f61e6692feecb3 Mon Sep 17 00:00:00 2001 From: junmin-kim Date: Thu, 9 Jan 2020 16:46:32 +0900 Subject: [PATCH] Fix typo in the sockfd_socket description --- include/nuttx/net/net.h | 2 +- net/socket/net_sockets.c | 2 +- net/socket/socket.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h index 0d1f230de8..1efa774e62 100644 --- a/include/nuttx/net/net.h +++ b/include/nuttx/net/net.h @@ -520,7 +520,7 @@ void net_releaselist(FAR struct socketlist *list); * Given a socket descriptor, return the underlying socket structure. * * Input Parameters: - * sockfd - The socket descriptor index o use. + * sockfd - The socket descriptor index to use. * * Returned Value: * On success, a reference to the socket structure associated with the diff --git a/net/socket/net_sockets.c b/net/socket/net_sockets.c index 0e8b8a34ba..9f9d47099b 100644 --- a/net/socket/net_sockets.c +++ b/net/socket/net_sockets.c @@ -255,7 +255,7 @@ void sockfd_release(int sockfd) * Given a socket descriptor, return the underlying socket structure. * * Input Parameters: - * sockfd - The socket descriptor index o use. + * sockfd - The socket descriptor index to use. * * Returned Value: * On success, a reference to the socket structure associated with the diff --git a/net/socket/socket.h b/net/socket/socket.h index 33e4bb99fc..4359c1cc76 100644 --- a/net/socket/socket.h +++ b/net/socket/socket.h @@ -211,7 +211,7 @@ void sockfd_release(int sockfd); * Given a socket descriptor, return the underlying socket structure. * * Input Parameters: - * sockfd - The socket descriptor index o use. + * sockfd - The socket descriptor index to use. * * Returned Value: * On success, a reference to the socket structure associated with the