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

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

View File

@ -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;
}