arch/sim/src/sim/up_tapdev.c: fix compile error

Change-Id: I8d5a176671f78464c057155edace5eabbb382c5c
This commit is contained in:
ligd 2020-09-10 14:19:10 +08:00 committed by Xiang Xiao
parent 2c8aa8629e
commit d785394b0f
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}