mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
libs/libc/aio/lio_listio.c: Fix a typograpical error.
This commit is contained in:
@@ -657,7 +657,7 @@ int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
|||||||
* caller ourself?
|
* caller ourself?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
else if (sig == NULL)
|
else if (sig != NULL)
|
||||||
{
|
{
|
||||||
if (nqueued > 0)
|
if (nqueued > 0)
|
||||||
{
|
{
|
||||||
@@ -676,8 +676,7 @@ int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
status = nxsig_notification(sighand->pid, &sighand->sig,
|
status = nxsig_notification(getpid(), sig, SI_ASYNCIO);
|
||||||
SI_ASYNCIO);
|
|
||||||
if (status < 0 && ret == OK)
|
if (status < 0 && ret == OK)
|
||||||
{
|
{
|
||||||
/* Something bad happened while performing the notification
|
/* Something bad happened while performing the notification
|
||||||
|
|||||||
Reference in New Issue
Block a user