You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/10 07:34:03 UTC

[incubator-nuttx] branch master updated: arch/sim/src/sim/up_tapdev.c: fix compile error

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d785394  arch/sim/src/sim/up_tapdev.c: fix compile error
d785394 is described below

commit d785394b0fa909e8a72cca8a87c25504c50f17b2
Author: ligd <li...@xiaomi.com>
AuthorDate: Thu Sep 10 14:19:10 2020 +0800

    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 458ed34..36fa520 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;
     }