diff --git a/include/nuttx/net/net.h b/include/nuttx/net/net.h index 0d1f230de8d..1efa774e62d 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 0e8b8a34bae..9f9d47099b5 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 33e4bb99fcf..4359c1cc76b 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