HAL_Linux: minor syntax fix in UARTDriver

Typo noticed by @hcervino.
This commit is contained in:
Victor Mayoral Vilches 2014-07-31 12:07:01 -07:00 committed by Andrew Tridgell
parent b6baf78e73
commit 8a71fdf092

View File

@ -280,7 +280,7 @@ void LinuxUARTDriver::_tcp_start_connection(bool wait_for_connection)
printf("bind port %u for %u\n",
(unsigned)ntohs(sockaddr.sin_port),
(unsigned)portNumber),
(unsigned)portNumber);
ret = bind(listen_fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr));
if (ret == -1) {