From d785394b0fa909e8a72cca8a87c25504c50f17b2 Mon Sep 17 00:00:00 2001 From: ligd Date: Thu, 10 Sep 2020 14:19:10 +0800 Subject: [PATCH] arch/sim/src/sim/up_tapdev.c: fix compile error Change-Id: I8d5a176671f78464c057155edace5eabbb382c5c --- arch/sim/src/sim/up_tapdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }