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