net/local/local_sendpacket.c: Fix a syslog format error

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 11:58:03 +09:00 committed by Xiang Xiao
parent 6ddaa18ee8
commit 49055bc638
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ static int local_fifo_write(FAR struct file *filep, FAR const uint8_t *buf,
{ {
if (nwritten != -EINTR) if (nwritten != -EINTR)
{ {
nerr("ERROR: nx_write failed: %d\n", nwritten); nerr("ERROR: nx_write failed: %zd\n", nwritten);
return (int)nwritten; return (int)nwritten;
} }