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/11/25 06:32:00 UTC

[incubator-nuttx] 17/28: net/udp/udp_sendto_buffered.c: Fix a syslog format

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

commit ff6201fc0affc275a6c6ef0e14c479a71fd91b80
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Nov 25 07:42:10 2020 +0900

    net/udp/udp_sendto_buffered.c: Fix a syslog format
---
 net/udp/udp_sendto_buffered.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/udp/udp_sendto_buffered.c b/net/udp/udp_sendto_buffered.c
index a251192..c35f56c 100644
--- a/net/udp/udp_sendto_buffered.c
+++ b/net/udp/udp_sendto_buffered.c
@@ -435,7 +435,7 @@ static uint16_t sendto_eventhandler(FAR struct net_driver_s *dev,
        */
 
       sndlen = wrb->wb_iob->io_pktlen;
-      ninfo("wrb=%p sndlen=%u\n", wrb, sndlen);
+      ninfo("wrb=%p sndlen=%zu\n", wrb, sndlen);
 
 #ifdef NEED_IPDOMAIN_SUPPORT
       /* If both IPv4 and IPv6 support are enabled, then we will need to