You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/08/26 12:58:51 UTC

[incubator-nuttx] branch master updated: fs/aio: fix typo ail

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c0b71469c fs/aio: fix typo ail
9c0b71469c is described below

commit 9c0b71469c74290205f485e471e2cd317aadcc8f
Author: yangxuan8282 <ya...@gmail.com>
AuthorDate: Fri Aug 26 10:56:51 2022 +0800

    fs/aio: fix typo ail
---
 fs/aio/aio_read.c  | 2 +-
 fs/aio/aio_write.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/aio/aio_read.c b/fs/aio/aio_read.c
index 28f79ac764..27c9cfb0a0 100644
--- a/fs/aio/aio_read.c
+++ b/fs/aio/aio_read.c
@@ -165,7 +165,7 @@ static void aio_read_worker(FAR void *arg)
  *   The aio_read() function will return the value zero if the I/O operation
  *   is successfully queued; otherwise, the function will return the value
  *   -1 and set errno to indicate the error.  The aio_read() function will
- *   ail if:
+ *   fail if:
  *
  *   EAGAIN - The requested asynchronous I/O operation was not queued due to
  *     system resource limitations.
diff --git a/fs/aio/aio_write.c b/fs/aio/aio_write.c
index c09cebcd0d..580b2ea3a6 100644
--- a/fs/aio/aio_write.c
+++ b/fs/aio/aio_write.c
@@ -195,7 +195,7 @@ errout:
  *   The aio_write() function will return the value zero if the I/O operation
  *   is successfully queued; otherwise, the function will return the value
  *   -1 and set errno to indicate the error.  The aio_write() function will
- *   ail if:
+ *   fail if:
  *
  *   EAGAIN - The requested asynchronous I/O operation was not queued due to
  *     system resource limitations.