mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
net/local/local_sockif.c: Fix a syslog format error
This commit is contained in:
committed by
Xiang Xiao
parent
49055bc638
commit
bf9b36cf92
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user