summaryrefslogtreecommitdiff
path: root/nuttx/libc/aio/aio_fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/aio/aio_fsync.c')
-rw-r--r--nuttx/libc/aio/aio_fsync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/libc/aio/aio_fsync.c b/nuttx/libc/aio/aio_fsync.c
index b354ab479..8595f71b8 100644
--- a/nuttx/libc/aio/aio_fsync.c
+++ b/nuttx/libc/aio/aio_fsync.c
@@ -206,6 +206,7 @@ int aio_fsync(int op, FAR struct aiocb *aiocbp)
/* The result -EINPROGRESS means that the transfer has not yet completed */
aiocbp->aio_result = -EINPROGRESS;
+ aiocbp->aio_priv = NULL;
/* Save the ID of the calling, client thread */