From 40d4c03a8cee9aef1783a48446fc4af827f3c3a6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 25 Nov 2020 19:43:29 +0900 Subject: [PATCH] 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 0ae1388aeaf..990599b33e1 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);