From bf9b36cf9247bed10d1e8b9e33bff0b53f751d87 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 11:59:06 +0900 Subject: [PATCH] net/local/local_sockif.c: Fix a syslog format error --- net/local/local_sockif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/local/local_sockif.c b/net/local/local_sockif.c index 6e9c7facd7..577eb4191a 100644 --- a/net/local/local_sockif.c +++ b/net/local/local_sockif.c @@ -292,7 +292,7 @@ static int local_bind(FAR struct socket *psock, if (addr->sa_family != AF_LOCAL || addrlen < sizeof(sa_family_t)) { - nerr("ERROR: Invalid address length: %d < %d\n", + nerr("ERROR: Invalid address length: %d < %zu\n", addrlen, sizeof(sa_family_t)); return -EBADF; }