summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/aio_write.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2
index d7b57c6..ae1f10a 100644
--- a/lib/libc/sys/aio_write.2
+++ b/lib/libc/sys/aio_write.2
@@ -95,7 +95,7 @@ for these objects is discouraged.
The asynchronous I/O control buffer
.Fa iocb
should be zeroed before the
-.Fn aio_read
+.Fn aio_write
call to avoid passing bogus context information to the kernel.
.Pp
Modifications of the Asynchronous I/O Control Block structure or the
OpenPOWER on IntegriCloud