diff options
Diffstat (limited to 'nuttx/net/socket.c')
-rw-r--r-- | nuttx/net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/socket.c b/nuttx/net/socket.c index fddff2ccc..f8de67f9e 100644 --- a/nuttx/net/socket.c +++ b/nuttx/net/socket.c @@ -126,7 +126,7 @@ int socket(int domain, int type, int protocol) /* Everything looks good. Allocate a socket descriptor */ - sockfd = sockfd_allocate(); + sockfd = sockfd_allocate(0); if (sockfd < 0) { err = ENFILE; |