libs/libc/aio/lio_listio.c: Fix a typograpical error.

This commit is contained in:
Xiang Xiao
2018-11-08 19:07:15 -06:00
committed by Gregory Nutt
parent f6e21619e2
commit 18f971aa35
+2 -3
View File
@@ -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