arch/sim/src/sim/up_tapdev.c: fix compile error
Change-Id: I8d5a176671f78464c057155edace5eabbb382c5c
This commit is contained in:
parent
2c8aa8629e
commit
d785394b0f
|
@ -384,8 +384,8 @@ void tapdev_ifup(in_addr_t ifaddr)
|
|||
ret = ioctl(sockfd, SIOCADDRT, (unsigned long)&ghostroute);
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "TAPDEV: ioctl failed
|
||||
(can't add host route): %d\n", -ret);
|
||||
syslog(LOG_ERR, "TAPDEV: ioctl failed"
|
||||
"(can't add host route): %d\n", -ret);
|
||||
close(sockfd);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue