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 40d4c03a8cee9aef1783a48446fc4af827f3c3a6 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Wed Nov 25 19:43:29 2020 +0900 net/tcp/tcp_input.c: Fix syslog formats --- net/tcp/tcp_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/tcp/tcp_input.c b/net/tcp/tcp_input.c index 0ae1388..990599b 100644 --- a/net/tcp/tcp_input.c +++ b/net/tcp/tcp_input.c @@ -509,8 +509,8 @@ found: if ((conn->tcpstateflags & TCP_STATE_MASK) == TCP_ESTABLISHED) { nwarn("WARNING: ackseq > unackseq\n"); - nwarn("sndseq=%" PRIu32 " tx_unacked=%u " - "unackseq=%" PRIu32 " ackseq=%" PRIu32 "\n", + nwarn("sndseq=%" PRIu32 " tx_unacked=%" PRIu32 + " unackseq=%" PRIu32 " ackseq=%" PRIu32 "\n", tcp_getsequence(conn->sndseq), conn->tx_unacked, unackseq, ackseq); @@ -524,7 +524,7 @@ found: */ ninfo("sndseq: %08" PRIx32 "->%08" PRIx32 - " unackseq: %08" PRIx32 " new tx_unacked: %d\n", + " unackseq: %08" PRIx32 " new tx_unacked: %" PRId32 "\n", tcp_getsequence(conn->sndseq), ackseq, unackseq, conn->tx_unacked); tcp_setsequence(conn->sndseq, ackseq);