The condition `if ((cur->n_aiocb == 1) {` has an unbalanced
parenthesis and fails to compile. This code is only built on the
HAVE_POSIXAIO (BSD) path, so the breakage is normally hidden.
Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
}
#elif defined(HAVE_POSIXAIO)
cur->priv = priv;
- if ((cur->n_aiocb == 1) {
+ if (cur->n_aiocb == 1) {
// TODO: consider batching multiple reads together with lio_listio
cur->aio.aiocb.aio_sigevent.sigev_notify = SIGEV_KEVENT;
cur->aio.aiocb.aio_sigevent.sigev_notify_kqueue = ctx;