mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +00:00
net/tcp/tcp_wrbuffer_dump.c: Fix a syslog format
This commit is contained in:
parent
3415f08b67
commit
8a23f98233
1 changed files with 2 additions and 1 deletions
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
|
@ -63,7 +64,7 @@
|
|||
void tcp_wrbuffer_dump(FAR const char *msg, FAR struct tcp_wrbuffer_s *wrb,
|
||||
unsigned int len, unsigned int offset)
|
||||
{
|
||||
syslog(LOG_DEBUG, "%s: wrb=%p segno=%d sent=%d nrtx=%d\n",
|
||||
syslog(LOG_DEBUG, "%s: wrb=%p segno=%" PRIu32 " sent=%d nrtx=%d\n",
|
||||
msg, wrb, TCP_WBSEQNO(wrb), TCP_WBSENT(wrb), TCP_WBNRTX(wrb));
|
||||
iob_dump("I/O Buffer Chain", TCP_WBIOB(wrb), len, offset);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue