net/local/local_sockif.c: Fix a syslog format error
This commit is contained in:
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))
|
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));
|
addrlen, sizeof(sa_family_t));
|
||||||
return -EBADF;
|
return -EBADF;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue