From 49055bc6386798c62ec9984b8f5dba7070a377db Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 11:58:03 +0900 Subject: [PATCH] net/local/local_sendpacket.c: Fix a syslog format error --- net/local/local_sendpacket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/local/local_sendpacket.c b/net/local/local_sendpacket.c index 644dd310f3..39f78b9fc6 100644 --- a/net/local/local_sendpacket.c +++ b/net/local/local_sendpacket.c @@ -102,7 +102,7 @@ static int local_fifo_write(FAR struct file *filep, FAR const uint8_t *buf, { if (nwritten != -EINTR) { - nerr("ERROR: nx_write failed: %d\n", nwritten); + nerr("ERROR: nx_write failed: %zd\n", nwritten); return (int)nwritten; }