1
0
Fork 0
forked from nuttx/nuttx-update

net/tcp/tcp_send_unbuffered.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-21 11:17:08 +09:00 committed by Xiang Xiao
parent bea32be658
commit 8cb6790cef

View file

@ -45,6 +45,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
@ -427,7 +428,8 @@ static uint16_t tcpsend_eventhandler(FAR struct net_driver_s *dev,
*/
seqno = pstate->snd_sent + pstate->snd_isn;
ninfo("SEND: sndseq %08x->%08x\n", conn->sndseq, seqno);
ninfo("SEND: sndseq %08" PRIx32 "->%08" PRIx32 "\n",
tcp_getsequence(conn->sndseq), seqno);
tcp_setsequence(conn->sndseq, seqno);
#ifdef NEED_IPDOMAIN_SUPPORT