mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
local_sendpacket.c:setting "EAGAIN" not as a error level
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
7050c312df
commit
931029b9cb
@@ -183,7 +183,11 @@ int local_send_packet(FAR struct file *filep, FAR const struct iovec *buf,
|
||||
ret = local_fifo_write(filep, iov->iov_base, iov->iov_len);
|
||||
if (ret < 0)
|
||||
{
|
||||
nerr("ERROR: local send packet failed ret: %d\n", ret);
|
||||
if (ret != -EAGAIN)
|
||||
{
|
||||
nerr("ERROR: local send packet failed ret: %d\n", ret);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user