git: 04cfe6c12ccc - main - aio_read.2: correct the description of aio_buf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Nov 2023 16:52:32 UTC
The branch main has been updated by asomers:
URL: https://cgit.FreeBSD.org/src/commit/?id=04cfe6c12ccc75624dc87ab8f44c4852b16f0c4f
commit 04cfe6c12ccc75624dc87ab8f44c4852b16f0c4f
Author: Alan Somers <asomers@FreeBSD.org>
AuthorDate: 2023-11-15 17:31:24 +0000
Commit: Alan Somers <asomers@FreeBSD.org>
CommitDate: 2023-11-21 16:52:02 +0000
aio_read.2: correct the description of aio_buf
Looks like a copypasta from aio_write.2.
[skip ci]
Reported by: Paul Floyd <pjfloyd@wanadoo.fr>
MFC after: 1 week
Sponsored by: Axcient
Reviewed by: jilles (manpages)
Differential Revision: https://reviews.freebsd.org/D42621
---
lib/libc/sys/aio_read.2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index 1470c70438a3..c6f062fa406d 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 2, 2021
+.Dd November 15, 2023
.Dt AIO_READ 2
.Os
.Sh NAME
@@ -51,7 +51,7 @@ beginning at the offset
.Fn aio_read
will read
.Fa iocb->aio_nbytes
-from the buffer pointed to by
+into the buffer pointed to by
.Fa iocb->aio_buf ,
whereas
.Fn aio_readv