diff --git a/arch/sim/src/sim/up_tapdev.c b/arch/sim/src/sim/up_tapdev.c index 458ed34053..36fa520de2 100644 --- a/arch/sim/src/sim/up_tapdev.c +++ b/arch/sim/src/sim/up_tapdev.c @@ -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; }