local_recvmsg.c:setting "EAGAIN" not as a warning level
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
parent
931029b9cb
commit
622302fe02
@ -110,11 +110,7 @@ static int psock_fifo_read(FAR struct socket *psock, FAR void *buf,
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ret == -EAGAIN)
|
||||
{
|
||||
nwarn("WARNING: Failed to read packet: %d\n", ret);
|
||||
}
|
||||
else
|
||||
if (ret != -EAGAIN)
|
||||
{
|
||||
nerr("ERROR: Failed to read packet: %d\n", ret);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user